Skip to content

Instantly share code, notes, and snippets.

@lewis-kori
Created November 11, 2019 17:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lewis-kori/937d34b8e81944a784760e83ad50d9f6 to your computer and use it in GitHub Desktop.
Save lewis-kori/937d34b8e81944a784760e83ad50d9f6 to your computer and use it in GitHub Desktop.
from django.contrib import admin
from django.urls import path,include
urlpatterns = [
path('admin/', admin.site.urls),
#path to djoser end points
path('auth/', include('djoser.urls')),
path('auth/', include('djoser.urls.jwt')),
#path to our account's app endpoints
path("api/accounts/",include("accounts.urls"))
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment