Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve mutable default #538

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

Xenon-Blu
Copy link

Resolve the following django error:

WARNINGS:
api.UserSettings.settings: (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 {}.

mattLLVW and others added 8 commits October 22, 2023 11:07
Resolves the following django error:

"
WARNINGS:
api.UserSettings.settings: (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 `{}`.
"
bumped version, updated changelog, built statics
Resolve the following django error:

WARNINGS:
api.UserSettings.settings: (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 {}.
Resolve the following django error:

WARNINGS:
api.UserSettings.settings: (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 {}.
@Xenon-Blu Xenon-Blu marked this pull request as ready for review August 28, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants