mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed copy/paste error in measurement docs
This commit is contained in:
parent
a89c856a7a
commit
e87997dd33
1 changed files with 2 additions and 2 deletions
|
@ -147,9 +147,9 @@ Measurement API
|
|||
|
||||
.. class:: Area(**kwargs)
|
||||
|
||||
To initialize a distance object, pass in a keyword corresponding to
|
||||
To initialize an area object, pass in a keyword corresponding to
|
||||
the desired :ref:`unit attribute name <supported_units>` set with
|
||||
desired value. For example, the following creates a distance
|
||||
desired value. For example, the following creates an area
|
||||
object representing 5 square miles::
|
||||
|
||||
>>> a = Area(sq_mi=5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue