From 440505cb2cadbe1a5b9fba246bcde6c04f51d07e Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Fri, 1 Mar 2019 17:09:33 +0100 Subject: Fixed #29408 -- Added validation of related fields and lookups in model Meta.ordering. --- docs/ref/checks.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref') 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 - ````. +* **models.E015**: ``ordering`` refers to the nonexistent field, related field + or lookup ````. * **models.E016**: ``indexes/index_together/unique_together`` refers to field ```` which is not local to model ````. * **models.E017**: Proxy model ```` contains model fields. -- cgit v1.3