mirror of
https://github.com/lemeow125/Django-NotesApp.git
synced 2025-05-16 11:38:11 +08:00
Added djoser
This commit is contained in:
parent
d1645a6db7
commit
4ad3bedb18
12 changed files with 28 additions and 3 deletions
|
@ -39,7 +39,8 @@ INSTALLED_APPS = [
|
|||
'django.contrib.staticfiles',
|
||||
'rest_framework',
|
||||
'notes.apps.NotesConfig',
|
||||
'corsheaders'
|
||||
'corsheaders',
|
||||
'djoser'
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
|
@ -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'))
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue