mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults.
This commit is contained in:
committed by
Tim Graham
parent
5ceaf14686
commit
f6e1789654
@@ -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``
|
||||
---------
|
||||
|
||||
Reference in New Issue
Block a user