from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
    url('', include('base.urls')),
    url('', include('social.apps.django_app.urls', namespace='social')),
    url(r'^admin/', admin.site.urls),
    url(r'^tosp_auth/', include('tosp_auth.urls'))
]

from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
    url('', include('base.urls')),
    url('', include('social_django.urls', namespace='social')),
    url(r'^admin/', admin.site.urls),
    url(r'^tosp_auth/', include('tosp_auth.urls'))
]

Change the url patters from python_social_auth to social_django
Change the url patters from python_social_auth to social_django

  from django.conf.urls import url, include
  from django.contrib import admin
  
  urlpatterns = [
      url('', include('base.urls')),
-     url('', include('social.apps.django_app.urls', namespace='social')),
+     url('', include('social_django.urls', namespace='social')),
      url(r'^admin/', admin.site.urls),
      url(r'^tosp_auth/', include('tosp_auth.urls'))
  ]
  
Change the url patters from python_social_auth to social_django
## Code Before:
from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
    url('', include('base.urls')),
    url('', include('social.apps.django_app.urls', namespace='social')),
    url(r'^admin/', admin.site.urls),
    url(r'^tosp_auth/', include('tosp_auth.urls'))
]

## Instruction:
Change the url patters from python_social_auth to social_django
## Code After:
from django.conf.urls import url, include
from django.contrib import admin

urlpatterns = [
    url('', include('base.urls')),
    url('', include('social_django.urls', namespace='social')),
    url(r'^admin/', admin.site.urls),
    url(r'^tosp_auth/', include('tosp_auth.urls'))
]
