diff options
| author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-05-04 23:27:13 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-20 10:56:55 +0200 |
| commit | 3c7bf39e23fe9168f31132d929c9877c5835859b (patch) | |
| tree | a308e51268b8b9ee885d28044b769fcbac50785a /docs | |
| parent | 8328811f048fed0dd22573224def8c65410c9f2e (diff) | |
Fixed #31410 -- Added system checks for invalid model field names in UniqueConstraint.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1259a4a285..09bb799ebe 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -308,17 +308,17 @@ Models * **models.E009**: All ``index_together`` elements must be lists or tuples. * **models.E010**: ``unique_together`` must be a list or tuple. * **models.E011**: All ``unique_together`` elements must be lists or tuples. -* **models.E012**: ``indexes/index_together/unique_together`` refers to the - nonexistent field ``<field name>``. -* **models.E013**: ``indexes/index_together/unique_together`` refers to a - ``ManyToManyField`` ``<field name>``, but ``ManyToManyField``\s are not - supported for that option. +* **models.E012**: ``constraints/indexes/index_together/unique_together`` + refers to the nonexistent field ``<field name>``. +* **models.E013**: ``constraints/indexes/index_together/unique_together`` + refers to a ``ManyToManyField`` ``<field name>``, but ``ManyToManyField``\s + are not supported for that option. * **models.E014**: ``ordering`` must be a tuple or list (even if you want to order by only one field). * **models.E015**: ``ordering`` refers to the nonexistent field, related field, or lookup ``<field name>``. -* **models.E016**: ``indexes/index_together/unique_together`` refers to field - ``<field_name>`` which is not local to model ``<model>``. +* **models.E016**: ``constraints/indexes/index_together/unique_together`` + refers to field ``<field_name>`` which is not local to model ``<model>``. * **models.E017**: Proxy model ``<model>`` contains model fields. * **models.E018**: Autogenerated column name too long for field ``<field>``. Maximum length is ``<maximum length>`` for database ``<alias>``. |
