summaryrefslogtreecommitdiff
path: root/docs/ref/checks.txt
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2015-03-17 07:42:53 -0700
committerTim Graham <timograham@gmail.com>2015-03-21 08:16:28 -0400
commit966a29c2b83fed2fc7c2b5b09de80cbebc94ac74 (patch)
tree05c6511b0c821b3be9731264acba1d32b31967e3 /docs/ref/checks.txt
parente304e1344857facd6356af9def3a7c9a78c528f9 (diff)
Fixed #24479 -- Added system check to prevent both ordering and order_wrt.
Diffstat (limited to 'docs/ref/checks.txt')
-rw-r--r--docs/ref/checks.txt2
1 files changed, 2 insertions, 0 deletions
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
``<M2M field>``. Maximum length is ``<maximum length>`` for database
``<alias>``.
* **models.E020**: The ``<model>.check()`` class method is currently overridden.
+* **models.E021**: ``ordering`` and ``order_with_respect_to`` cannot be used
+ together.
Fields
~~~~~~