diff options
Diffstat (limited to 'docs/ref/checks.txt')
-rw-r--r-- | docs/ref/checks.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 9e350a3ff3..df0adbef63 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -175,6 +175,9 @@ Model fields ``choices`` (``<count>`` characters). * **fields.E010**: ``<field>`` default should be a callable instead of an instance so that it's not shared between all field instances. +* **fields.E011**: ``<database>`` does not support default database values with + expressions (``db_default``). +* **fields.E012**: ``<expression>`` cannot be used in ``db_default``. * **fields.E100**: ``AutoField``\s must set primary_key=True. * **fields.E110**: ``BooleanField``\s do not accept null values. *This check appeared before support for null values was added in Django 2.1.* |