summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorsage <laymonage@gmail.com>2019-10-17 11:36:39 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-17 12:30:29 +0200
commit6f82df69efa372fb4bddf272fff577850a09f1dc (patch)
tree719b621431e229fbc02bb2a70183a2a32d344d27 /docs/ref
parent187a64608d2a207dfc12fdd6816526e9550069b7 (diff)
Refs #12990 -- Moved CheckFieldDefaultMixin to the django.db.models.fields.mixins.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt
index 9bcba596fa..9c5b86eafd 100644
--- a/docs/ref/checks.txt
+++ b/docs/ref/checks.txt
@@ -140,6 +140,8 @@ Model fields
* **fields.E008**: All ``validators`` must be callable.
* **fields.E009**: ``max_length`` is too small to fit the longest value in
``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.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.*
@@ -747,7 +749,8 @@ fields:
* **postgres.E001**: Base field for array has errors: ...
* **postgres.E002**: Base field for array cannot be a related field.
* **postgres.E003**: ``<field>`` default should be a callable instead of an
- instance so that it's not shared between all field instances.
+ instance so that it's not shared between all field instances. *This check was
+ changed to* ``fields.E010`` *in Django 3.1*.
``sites``
---------