mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
Fixed #24479 -- Added system check to prevent both ordering and order_wrt.
This commit is contained in:
parent
e304e13448
commit
966a29c2b8
5 changed files with 64 additions and 4 deletions
|
@ -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
|
||||
~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue