diff options
Diffstat (limited to 'docs/ref/checks.txt')
| -rw-r--r-- | docs/ref/checks.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index f852c777ad..e68c1a5a57 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -138,6 +138,9 @@ Models * **models.E020**: The ``<model>.check()`` class method is currently overridden. * **models.E021**: ``ordering`` and ``order_with_respect_to`` cannot be used together. +* **models.E022**: ``<function>`` contains a lazy reference to + ``<app label>>.<model>``, but app ``<app label>`` isn't installed or + doesn't provide model ``<model>``. Fields ~~~~~~ @@ -200,6 +203,9 @@ Related Fields for ``<field name>``. * **fields.E306**: Related name must be a valid Python identifier or end with a ``'+'``. +* **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.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. |
