mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
remove confusing phrase from DecimalField docs
The phrase "if it exists" was used in reference to the `decimal_places` argument to `DecimalField`, when in fact that field is required.
This commit is contained in:
parent
ddfc68379f
commit
408da7b457
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ A fixed-precision decimal number, represented in Python by a
|
|||
.. attribute:: DecimalField.max_digits
|
||||
|
||||
The maximum number of digits allowed in the number. Note that this number
|
||||
must be greater than or equal to ``decimal_places``, if it exists.
|
||||
must be greater than or equal to ``decimal_places``.
|
||||
|
||||
.. attribute:: DecimalField.decimal_places
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue