mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
@@ -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>``.
|
||||
|
||||
Reference in New Issue
Block a user