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

upgrade oauth to support django 4+ #23

Merged
merged 13 commits into from
Dec 8, 2023
Merged

upgrade oauth to support django 4+ #23

merged 13 commits into from
Dec 8, 2023

Conversation

assumpcaoeduardo
Copy link
Contributor

Description

This PR upgrades the django-admin-oauth2 in order to support Django 4+.

Solution

  • Substitutes url with re_path in oauthadmin/urls.py.
  • Updates the version in setup.py.
  • Updates the README.md.

Validation

Evidence

  • The django-admin-oauth2 now supports django 4+.

Tests executed

  • Executed a local version of django-admin-oauth2 in RealLeads and passed existing tests.
Screenshot 2023-09-25 at 14 28 44 Screenshot 2023-09-25 at 14 30 55

@Bayout
Copy link

Bayout commented Sep 25, 2023

Great job edu !

Copy link

@marzullofp marzullofp left a comment

Choose a reason for hiding this comment

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

LGTM!

@marzullofp
Copy link

@larslevie and @aaronvb this is the fix on django oauth. Let me know when it is published to fury.
BTW, if you need we can do it for you too. Just let me know.

@larslevie
Copy link
Member

larslevie commented Oct 19, 2023

@marzullofp @aaronvb Since this is a breaking change for older versions of Django, should this be a major version bump? Probably also want to add a note that this only compatible with Django >= 2.0.

@larslevie larslevie force-pushed the upgrade-oauth branch 2 times, most recently from a68cdb5 to 2174ab1 Compare November 29, 2023 22:51
@larslevie larslevie requested a review from kevin1024 November 29, 2023 22:52
@larslevie larslevie force-pushed the master branch 2 times, most recently from 331a377 to ecdc99b Compare November 30, 2023 16:13
until we can figure out how to do it correctly and still be able to run them locally.
@larslevie larslevie merged commit d724c76 into master Dec 8, 2023
@larslevie larslevie deleted the upgrade-oauth branch December 8, 2023 23:33
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.

5 participants