mirror of
https://github.com/lemeow125/Ivy-Backend.git
synced 2024-11-16 22:29:25 +08:00
Fixed api/v1 url not working and added initial djoser url
This commit is contained in:
parent
b95f17a358
commit
2234100f17
3 changed files with 4 additions and 3 deletions
|
@ -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'))
|
||||
]
|
||||
|
|
|
@ -38,7 +38,8 @@ INSTALLED_APPS = [
|
|||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'rest_framework',
|
||||
'djoser'
|
||||
'djoser',
|
||||
'api',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
|
@ -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'))
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue