-
Notifications
You must be signed in to change notification settings - Fork 258
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
Translated JSONField now always returns str #701
Comments
Hi, please, be more specific and provide code samples. It returns str when accessing field? Are you using default= argument? |
@sergei-maertens looks like I yanked the release, to limit affected users. |
@jose-reveni please, check if the issue is fixed in master branch. |
Check, at least we had quick feedback on this! |
Sorry it took me so long to reply, I just remembered I had opened this issue after checking my |
With the latest release which includes #700, JSONFields now always returns a str (instead of something like a list or dict).
I'd expect
django.utils.encoding.force_strforce_str
withstrings_only=True
to keep types like dicts and lists, but they are not included in the list of protected types.The text was updated successfully, but these errors were encountered: