diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-26 12:00:52 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-26 12:01:32 +0100 |
| commit | ae6c6f9110a0bd30a72c5bc5067920ba2725dc6b (patch) | |
| tree | 34dae8839416857ec86ef79834222f47ba113471 | |
| parent | 0193a1630eca5c55721c04562f24c6f17464f901 (diff) | |
[3.0.x] Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Backport of 667f784baab31f11d2469e5d22bbdc2390dbc030 from master
| -rw-r--r-- | docs/ref/checks.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 1289ffe1ab..289defa5ba 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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 |
