diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 18b6d88add..074a901de8 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -206,6 +206,10 @@ Related Fields * **fields.E307**: The field ``<app label>.<model>.<field name>`` was declared with a lazy reference to ``<app label>.<model>``, but app ``<app label>`` isn't installed or doesn't provide model ``<model>``. +* **fields.E308**: Reverse query name ``<related query name>`` must not end + with an underscore. +* **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. |
