From c512912463c11428e572fb409704b351b1b26dfd Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 11 Dec 2017 15:35:19 +0000 Subject: Refs #23801 -- Made integer field max_length warning show correct field type. --- docs/ref/checks.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') 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 + ````. * **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. -- cgit v1.3