From f6e1789654e82bac08cead5a2d2a9132f6403f52 Mon Sep 17 00:00:00 2001 From: Flávio Juvenal Date: Thu, 17 Aug 2017 16:21:35 -0700 Subject: Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable defaults. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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**: ```` default should be a callable instead of an + instance so that it's not shared between all field instances. ``sites`` --------- -- cgit v1.3