From f62abfc03da61977bf080163f0a2ef014decd86a Mon Sep 17 00:00:00 2001 From: Quentin Fulsher Date: Tue, 11 Oct 2016 00:59:17 -0700 Subject: Fixed #27295 -- Added a system check to prohibit model names that start or end with an underscore or contain double underscores. --- docs/ref/checks.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ref') 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**: ```` contains a lazy reference to ``.``, but app ```` isn't installed or doesn't provide model ````. +* **models.E023**: The model name ```` cannot start or end with an + underscore as it collides with the query lookup syntax. +* **models.E024**: The model name ```` cannot contain double underscores + as it collides with the query lookup syntax. Fields ~~~~~~ -- cgit v1.3