summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 638f9af564..a3c659aad5 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -141,6 +141,10 @@ Models
* **models.E022**: ``<function>`` contains a lazy reference to
``<app label>.<model>``, but app ``<app label>`` isn't installed or
doesn't provide model ``<model>``.
+* **models.E023**: The model name ``<model>`` cannot start or end with an
+ underscore as it collides with the query lookup syntax.
+* **models.E024**: The model name ``<model>`` cannot contain double underscores
+ as it collides with the query lookup syntax.
Fields
~~~~~~