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

Django 4.2 fixes #28

Closed
wants to merge 3 commits into from
Closed

Django 4.2 fixes #28

wants to merge 3 commits into from

Conversation

geophphrie
Copy link
Contributor

Django 4.2 weirdly changes some of how JSONField works. It even seems like maybe a bug, at least a discrepancy from their documentation. These changes address that.


# Verify that the value that was stored in the database was a json null, i.e. a string with the value 'null'
# NO! That is NOT what we want! If the field is nullable, we should store a real null.
# dbvalk = get_field_value('nulltruemodel', 'k')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

@geophphrie geophphrie closed this Jul 25, 2023
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