mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
[3.0.x] Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Backport of 667f784baa
from master
This commit is contained in:
parent
0193a1630e
commit
ae6c6f9110
1 changed files with 1 additions and 2 deletions
|
@ -211,8 +211,7 @@ Related fields
|
|||
* **fields.E309**: Reverse query name ``<related query name>`` must not contain
|
||||
``'__'``.
|
||||
* **fields.E310**: No subset of the fields ``<field1>``, ``<field2>``, ... on
|
||||
model ``<model>`` is unique. Add ``unique=True`` on any of those fields or
|
||||
add at least a subset of them to a unique_together constraint.
|
||||
model ``<model>`` is unique.
|
||||
* **fields.E311**: ``<model>`` must set ``unique=True`` because it is
|
||||
referenced by a ``ForeignKey``.
|
||||
* **fields.E312**: The ``to_field`` ``<field name>`` doesn't exist on the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue