1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed #30613 -- Moved index name validation to system checks.

This commit is contained in:
can
2019-07-04 19:21:50 +03:00
committed by Mariusz Felisiak
parent f197c3dd91
commit 53209f7830
5 changed files with 64 additions and 35 deletions

View File

@@ -313,6 +313,10 @@ Models
``<model>``.
* **models.E032**: constraint name ``<constraint>`` is not unique amongst
models: ``<model list>``.
* **models.E033**: The index name ``<index>`` cannot start with an underscore
or a number.
* **models.E034**: The index name ``<index>`` cannot be longer than
``<max_length>`` characters.
Security
--------