This commit is contained in:
parent
51385cb1c7
commit
81dc1e4817
@ -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')),
|
||||
]
|
||||
|
||||
@ -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'))
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user