Added djoser

This commit is contained in:
Keannu Christian Bernasol 2023-02-25 17:57:38 +08:00
parent d1645a6db7
commit 4ad3bedb18
12 changed files with 28 additions and 3 deletions

View file

@ -39,7 +39,8 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'rest_framework',
'notes.apps.NotesConfig',
'corsheaders'
'corsheaders',
'djoser'
]
MIDDLEWARE = [

View file

@ -18,5 +18,5 @@ from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('api.urls'))
path('api/v1/', include('api.urls'))
]