Fixed #24479 -- Added system check to prevent both ordering and order_wrt.

This commit is contained in:
Jon Dufresne 2015-03-17 07:42:53 -07:00 committed by Tim Graham
parent e304e13448
commit 966a29c2b8
5 changed files with 64 additions and 4 deletions

View file

@ -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
~~~~~~