From 2ff7ef15b0a1d41e3f121e96cb72a383863046c0 Mon Sep 17 00:00:00 2001 From: Alex Hill Date: Wed, 18 May 2016 23:18:40 +0800 Subject: Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and tests --- docs/ref/checks.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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 ``.check()`` class method is currently overridden. * **models.E021**: ``ordering`` and ``order_with_respect_to`` cannot be used together. +* **models.E022**: ```` contains a lazy reference to + ``>.``, but app ```` isn't installed or + doesn't provide model ````. Fields ~~~~~~ @@ -200,6 +203,9 @@ Related Fields for ````. * **fields.E306**: Related name must be a valid Python identifier or end with a ``'+'``. +* **fields.E307**: The field ``..`` was declared + with a lazy reference to ``.``, but app ```` + isn't installed or doesn't provide model ````. * **fields.E310**: No subset of the fields ````, ````, ... on model ```` is unique. Add ``unique=True`` on any of those fields or add at least a subset of them to a unique_together constraint. -- cgit v1.3