Added some logic
This commit is contained in:
@@ -2,8 +2,10 @@ from drf_spectacular.views import SpectacularAPIView, SpectacularSwaggerView
|
||||
from django.urls import include, path
|
||||
|
||||
urlpatterns = [
|
||||
path("auth", include("apps.authentication.urls")),
|
||||
path("shelves", include("apps.shelves.urls")),
|
||||
path("auth/", include("apps.authentication.urls")),
|
||||
path("shelves/", include("apps.shelves.urls")),
|
||||
path("books/", include("apps.books.urls")),
|
||||
path("authors/", include("apps.authors.urls")),
|
||||
|
||||
path('schema/', SpectacularAPIView.as_view(), name='schema'),
|
||||
path('swagger/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'),
|
||||
|
||||
Reference in New Issue
Block a user