mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Refs #29408 -- Cosmetic edits for validation of related fields and lookups in model Meta.ordering.
Follow up to 440505cb2c
.
This commit is contained in:
parent
fe65918dca
commit
f69c7bbdce
4 changed files with 16 additions and 12 deletions
|
@ -277,7 +277,7 @@ Models
|
|||
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
|
||||
* **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>``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue