summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2019-03-01 17:09:33 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-03-01 17:09:33 +0100
commit440505cb2cadbe1a5b9fba246bcde6c04f51d07e (patch)
treeefa7f88f683ecf7246a06600dd677b832c326e7b /docs
parent4dcbe6eb2de38a856dae39928692e46fbcf5c475 (diff)
Fixed #29408 -- Added validation of related fields and lookups in model Meta.ordering.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/checks.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 6ec3028c35..0b9fd39eb9 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -277,8 +277,8 @@ 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
- ``<field name>``.
+* **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.E017**: Proxy model ``<model>`` contains model fields.