mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #23801 -- Added warning when max_length is used with IntegerField
This commit is contained in:
parent
cbb5cdd155
commit
e9d1f1182a
3 changed files with 37 additions and 0 deletions
|
@ -82,6 +82,7 @@ Fields
|
|||
* **fields.E110**: ``BooleanField``\s do not accept null values.
|
||||
* **fields.E120**: ``CharField``\s must define a ``max_length`` attribute.
|
||||
* **fields.E121**: ``max_length`` must be a positive integer.
|
||||
* **fields.W122**: ``max_length`` is ignored when used with ``IntegerField``.
|
||||
* **fields.E130**: ``DecimalField``\s must define a ``decimal_places`` attribute.
|
||||
* **fields.E131**: ``decimal_places`` must be a non-negative integer.
|
||||
* **fields.E132**: ``DecimalField``\s must define a ``max_digits`` attribute.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue