From 81dc1e4817622e7ffff21bf1f86cce6df44ad297 Mon Sep 17 00:00:00 2001 From: Jakub K Date: Sat, 11 Nov 2023 21:33:58 +0100 Subject: [PATCH] IZAAC_BASE - urls --- core/urls.py | 4 ++-- izaac/urls.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/urls.py b/core/urls.py index ad99771..feac44b 100644 --- a/core/urls.py +++ b/core/urls.py @@ -1,6 +1,6 @@ from django.urls import path, include urlpatterns = [ - path("api/v1/", include('dj_rest_auth.urls')), - path('api/v1/registration/', include('dj_rest_auth.registration.urls')), + path("v1/", include('dj_rest_auth.urls')), + path('v1/registration/', include('dj_rest_auth.registration.urls')), ] diff --git a/izaac/urls.py b/izaac/urls.py index ee51ef4..511de7d 100644 --- a/izaac/urls.py +++ b/izaac/urls.py @@ -14,8 +14,9 @@ Including another URLconf 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) """ from django.contrib import admin -from django.urls import path +from django.urls import path, include urlpatterns = [ path("admin/", admin.site.urls), + path("api/user/", include('core.urls')) ]