mirror of
https://github.com/andwati/store-api.git
synced 2026-11-26 10:28:48 +00:00
completed products views
This commit is contained in:
+4
-5
@@ -30,13 +30,12 @@ schema_view = get_schema_view(
|
||||
license=openapi.License(name="MIT License"),
|
||||
),
|
||||
public=True,
|
||||
permission_classes=[
|
||||
permissions.AllowAny,
|
||||
],
|
||||
permission_classes=(permissions.AllowAny,),
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("api/", include("products.urls")),
|
||||
path("docs/", schema_view.with_ui("swagger", cache_timeout=0), name="schema-swagger-ui"),
|
||||
path("api/auth/", include("authentication.urls")),
|
||||
path("api/products/", include("products.urls")),
|
||||
path("", schema_view.with_ui("swagger", cache_timeout=0), name="schema-swagger-ui"),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user