Added some logic

This commit is contained in:
maciejrusek
2026-03-12 23:24:14 +01:00
parent ca605ac59d
commit 8b55be1b9c
48 changed files with 240 additions and 7 deletions

View File

@@ -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'),