There was an error while loading. Please reload this page.
1 parent 81bdd4d commit 0179da3Copy full SHA for 0179da3
src/config/urls.py
@@ -24,7 +24,9 @@
24
25
urlpatterns = [
26
path("admin/", admin.site.urls),
27
-
+ path("api-auth/", include("rest_framework.urls")),
28
+ path("auth/", include("djoser.urls")),
29
+ path("auth/", include("djoser.urls.authtoken")),
30
path(
31
"accounts/register/",
32
RegistrationView.as_view(
@@ -34,13 +36,6 @@
34
36
name="django_registration_register",
35
37
),
38
path("accounts/", include("django.contrib.auth.urls")),
- path("api-auth/", include("rest_framework.urls")),
39
40
- path('auth/', include('djoser.urls')),
41
- path('auth/', include('djoser.urls.authtoken')),
42
43
path("api/v1/", include("questions.api.urls")),
44
45
re_path(r"^.*$", IndexTemplateView.as_view(), name="entry-point"),
46
]
0 commit comments