diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-26 12:00:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-26 12:00:52 +0100 |
| commit | 667f784baab31f11d2469e5d22bbdc2390dbc030 (patch) | |
| tree | 927333dc7f819102b213c1c870f9caf512ccb947 /docs | |
| parent | fba5d3b6e63fe4a07b1aa133186f997eeebf9aeb (diff) | |
Removed hint from fields.E310 message in system check docs.
This is the only documented hint.
Diffstat (limited to 'docs')
| -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 56a6ac3b55..ce5cf5b45a 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -219,8 +219,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 |
