diff --git a/ivy/api/urls.py b/ivy/api/urls.py index 63176f3..c99a589 100644 --- a/ivy/api/urls.py +++ b/ivy/api/urls.py @@ -2,5 +2,5 @@ from django.contrib import admin from django.urls import path, include urlpatterns = [ - path('accounts/', include('djoser.urls')) + path('', include('djoser.urls')) ] diff --git a/ivy/config/settings.py b/ivy/config/settings.py index 07c1513..ca36373 100644 --- a/ivy/config/settings.py +++ b/ivy/config/settings.py @@ -38,7 +38,8 @@ INSTALLED_APPS = [ 'django.contrib.messages', 'django.contrib.staticfiles', 'rest_framework', - 'djoser' + 'djoser', + 'api', ] MIDDLEWARE = [ diff --git a/ivy/config/urls.py b/ivy/config/urls.py index 6460ca4..912f223 100644 --- a/ivy/config/urls.py +++ b/ivy/config/urls.py @@ -18,5 +18,5 @@ from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), - path('/api/v1/', include('api.urls')) + path('api/v1/', include('api.urls')) ]