setup urls for users app
This commit is contained in:
parent
9a22e5aef0
commit
787012cac8
@ -16,7 +16,17 @@ Including another URLconf
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import include
|
||||
|
||||
from drf_spectacular.views import SpectacularAPIView
|
||||
from drf_spectacular.views import SpectacularRedocView
|
||||
from drf_spectacular.views import SpectacularSwaggerView
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path("auth/", include('users.urls')),
|
||||
|
||||
# Spectacular
|
||||
path("schema/", SpectacularAPIView.as_view(), name="schema-text"),
|
||||
path("schema/swagger/", SpectacularSwaggerView.as_view(url_name='schema-text'), name="swagger-ui"),
|
||||
path("schema/redoc/", SpectacularRedocView.as_view(url_name='schema-text'), name="redoc")
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user