From 91f1b6dcdc5da47d7794a55e3114820407a5bd62 Mon Sep 17 00:00:00 2001 From: Anubhav Joshi Date: Tue, 10 Jun 2014 17:34:19 +0530 Subject: Fixed #13711 -- Model check added to ensure that auto-generated column name is within limits of the database. Thanks russellm for report and Tim Graham for review. --- docs/ref/checks.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index aedaa921db..85cd616253 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -58,6 +58,11 @@ Models * **models.E016**: ``index_together/unique_together`` refers to field ```` which is not local to model ````. * **models.E017**: Proxy model ```` contains model fields. +* **models.E018**: Autogenerated column name too long for field ````. + Maximum length is ```` for database ````. +* **models.E019**: Autogenerated column name too long for M2M field + ````. Maximum length is ```` for database + ````. Fields ~~~~~~ -- cgit v1.3