From 966a29c2b83fed2fc7c2b5b09de80cbebc94ac74 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 17 Mar 2015 07:42:53 -0700 Subject: Fixed #24479 -- Added system check to prevent both ordering and order_wrt. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 9ba3c492f7..eb6fa688a2 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -63,6 +63,8 @@ Models ````. Maximum length is ```` for database ````. * **models.E020**: The ``.check()`` class method is currently overridden. +* **models.E021**: ``ordering`` and ``order_with_respect_to`` cannot be used + together. Fields ~~~~~~ -- cgit v1.3