-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
models: Use Django native JSONField #465
Conversation
Codecov Report
@@ Coverage Diff @@
## master #465 +/- ##
==========================================
+ Coverage 93.66% 93.83% +0.16%
==========================================
Files 35 39 +4
Lines 1121 1119 -2
Branches 130 130
==========================================
Hits 1050 1050
+ Misses 45 44 -1
+ Partials 26 25 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
It was introduced in Django 3.1 and social_django already requires Django 3.2. Fixes python-social-auth#464 Fixes python-social-auth#209
I have tested the branch. First, I ran the old code and verified that the
I then ran the migrations from this commit, and the
Finally, I ran our system test which caught the issue, and it now passes. So, this change LGTM: thanks! |
Would it be possible to cut (and publish) a release with this change? |
- Upgrade social-auth-app-django to a pre-release of 5.2.0 that include python-social-auth/social-app-django#465 - Upgrade social-auth-core to match social-auth-app-django's requirements.
- Upgrade social-auth-app-django to a pre-release of 5.2.0 that include python-social-auth/social-app-django#465 - Upgrade social-auth-core to match social-auth-app-django's requirements.
Couldn't find any information about this in the release, so I'll ask here: Does this mean we should remove I see 5.2.0 is still the "latest" according to releases here on github. But on pypi it's 5.3.0 |
Once you upgrade, it is still used during the migration.
Yes it should, contributions are welcome.
I forgot to tick “Set as the latest release”, fixed now. |
Proposed changes
It was introduced in Django 3.1 and social_django already requires Django 3.2.
Fixes #464
Fixes #209
Types of changes
Please check the type of change your PR introduces:
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creatingthe PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.
Other information
Any other information that is important to this PR such as screenshots of how
the component looks before and after the change.