diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2017-12-11 15:35:19 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-11-23 14:40:46 -0500 |
| commit | c512912463c11428e572fb409704b351b1b26dfd (patch) | |
| tree | c735c6d9e6ed3bc8a1a08b00e31460156c097099 /docs | |
| parent | 856ba1ec86e0fe6cf3039193bba4760c71f9ad60 (diff) | |
Refs #23801 -- Made integer field max_length warning show correct field type.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 0173f437d0..acd860065f 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -143,7 +143,8 @@ Model fields appeared before support for null values was added in Django 2.1.* * **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.W122**: ``max_length`` is ignored when used with + ``<integer field type>``. * **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. |
