RealmTeam / django-rest-framework-social-oauth2

python-social-auth and oauth2 support for django-rest-framework
MIT License
1.06k stars 191 forks source link

Fixbug Fixing "urls" to support Django 4, older versions Fixes #254 #255

Closed islam-kamel closed 10 months ago

islam-kamel commented 1 year ago

This helps with Django4.0 and would also work with the older version.

Replace

from django.conf.urls import url, include

To

from django.conf.urls import include
try:
    from django.conf.urls import url
except ImportError:
    from django.urls import re_path as url
royarzun commented 1 year ago

Is this not going to be merged?

islam-kamel commented 1 year ago

maybe have this package archived

brandondunc94 commented 1 year ago

Let's get this merged please!

islam-kamel commented 1 year ago

https://github.com/islam-kamel/django-rest-framework-social-oauth2