diff --git a/server/server/settings.py b/server/server/settings.py index db7c928..43c4067 100644 --- a/server/server/settings.py +++ b/server/server/settings.py @@ -40,10 +40,10 @@ INSTALLED_APPS = [ 'django.contrib.sites', 'rest_framework', 'rest_framework.authtoken', - 'rest_auth', 'allauth', 'allauth.account', - 'rest_auth.registration', + 'dj_rest_auth', + 'dj_rest_auth.registration', ] MIDDLEWARE = [ diff --git a/server/server/urls.py b/server/server/urls.py index 1f72d34..f4f2c34 100644 --- a/server/server/urls.py +++ b/server/server/urls.py @@ -11,6 +11,6 @@ urlpatterns = [ path('', include(router.urls)), path('admin/', admin.site.urls), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), - url(r'^rest-auth/', include('rest_auth.urls')), - url(r'^rest-auth/registration/', include('rest_auth.registration.urls')), + path('dj-rest-auth/', include('dj_rest_auth.urls')), + path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')) ]