diff options
| author | MattBlack85 <promat85@gmail.com> | 2014-11-18 15:03:13 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-26 18:41:54 -0500 |
| commit | e9d1f1182aaccaa8b60cf6a3491f0103d2bb0229 (patch) | |
| tree | 0271253f82ce9c1df9a77c43eb4d79bf4135f312 /docs | |
| parent | cbb5cdd155668ba771cad6b975676d3b20fed37b (diff) | |
Fixed #23801 -- Added warning when max_length is used with IntegerField
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index f1b34fade4..86b287c0f2 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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. |
