1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #28313 -- Added model name max length check of 100 characters in contrib.contentttypes.

This commit is contained in:
michaldabski
2017-06-15 21:44:20 +01:00
committed by Tim Graham
parent 44a7b98abb
commit d381914aef
4 changed files with 44 additions and 1 deletions

View File

@@ -668,6 +668,7 @@ The following checks are performed when a model contains a
* **contenttypes.E003**: ``<field>`` is not a ``ForeignKey``.
* **contenttypes.E004**: ``<field>`` is not a ``ForeignKey`` to
``contenttypes.ContentType``.
* **contenttypes.E005**: Model names must be at most 100 characters.
``sites``
---------