diff options
| author | Flávio Juvenal <flaviojuvenal@gmail.com> | 2017-08-17 16:21:35 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-10-20 13:17:22 -0400 |
| commit | f6e1789654e82bac08cead5a2d2a9132f6403f52 (patch) | |
| tree | abc80ed75f7c67ac7e44125e25c9898ff89fd68b /docs | |
| parent | 5ceaf14686ce626404afb6a5fbd3d8286410bf13 (diff) | |
Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 05d2b55d34..dc70022354 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -687,6 +687,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. ``sites`` --------- |
