mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-08 22:14:53 +03:00
feat: Change auth-token
URLs
This commit is contained in:
parent
d75fa3afcb
commit
6a5b101d0f
|
@ -43,7 +43,7 @@ urlpatterns += [
|
|||
# API base url
|
||||
path("api/", include("config.api_router")),
|
||||
# DRF auth token
|
||||
path("auth-token/", obtain_auth_token),
|
||||
path("api/auth-token/", obtain_auth_token),
|
||||
path("api/schema/", SpectacularAPIView.as_view(), name="api-schema"),
|
||||
path(
|
||||
"api/docs/",
|
||||
|
|
Loading…
Reference in New Issue
Block a user