﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34435	JSONField with string default raises fields.E010 warning.	Tobias Krönke	Sage Abdullah	"Hi! I have a model with this field:


{{{
message = models.JSONField(editable=False, default='')
}}}

When running

{{{
manage.py check
}}}

I receive a warning, that IMO should not be triggered:

{{{
message: (fields.E010) JSONField default should be a callable instead of an instance so that it's not shared between all field instances.
	HINT: Use a callable instead, e.g., use `dict` instead of `{}`.
}}}

django should check, if the default is mutable and only if so issue that warning."	Bug	closed	Documentation	4.1	Normal	fixed		Sage Abdullah	Ready for checkin	1	0	0	0	0	0
