Далер 13 hours ago
parent 9963b49a40
commit bc20d52b33

@ -12,7 +12,7 @@ router_pricing = DefaultRouter()
# router_pricing.register(r'example', views.ExampleViewSet)
# Swagger schema view for pricing
schema_view_pricing = get_schema_view(
schema_view_logictics = get_schema_view(
openapi.Info(
title="Store Management API - Pricing",
default_version='v1',
@ -27,4 +27,6 @@ schema_view_pricing = get_schema_view(
urlpatterns = [
path('generate-path/', views.generate_path, name='generate_path'),
path('swagger/', schema_view_logictics.with_ui('swagger', cache_timeout=0), name='schema-swagger-ui-inventory'),
]

@ -957,3 +957,29 @@ Watching for file changes with StatReloader
Watching for file changes with StatReloader
/home/dark/Documents/GitHub/store-management-system/hr/models.py changed, reloading.
Watching for file changes with StatReloader
Watching for file changes with StatReloader
Watching for file changes with StatReloader
Not Found: /
"GET / HTTP/1.1" 404 3238
Not Found: /api/logistic/
"GET /api/logistic/ HTTP/1.1" 404 3421
Not Found: /api/logistic/swagger
"GET /api/logistic/swagger HTTP/1.1" 404 3442
/home/dark/Documents/GitHub/store-management-system/logistic/urls.py changed, reloading.
Watching for file changes with StatReloader
/home/dark/Documents/GitHub/store-management-system/logistic/urls.py changed, reloading.
Watching for file changes with StatReloader
/home/dark/Documents/GitHub/store-management-system/logistic/urls.py changed, reloading.
Watching for file changes with StatReloader
/home/dark/Documents/GitHub/store-management-system/logistic/urls.py changed, reloading.
Watching for file changes with StatReloader
"GET /api/logistic/swagger HTTP/1.1" 301 0
"GET /api/logistic/swagger/ HTTP/1.1" 200 2246
"GET /static/drf-yasg/style.css HTTP/1.1" 304 0
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui.css HTTP/1.1" 304 0
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui-standalone-preset.js HTTP/1.1" 304 0
"GET /static/drf-yasg/swagger-ui-init.js HTTP/1.1" 304 0
"GET /static/drf-yasg/insQ.min.js HTTP/1.1" 304 0
"GET /static/drf-yasg/swagger-ui-dist/swagger-ui-bundle.js HTTP/1.1" 304 0
"GET /static/drf-yasg/immutable.min.js HTTP/1.1" 304 0
"GET /api/logistic/swagger/?format=openapi HTTP/1.1" 200 55780

@ -8,6 +8,6 @@ urlpatterns = [
path('api/goods-reception/', include('goods_reception.urls')),
path('api/warehouse/', include('warehouse.urls')),
path('api/hr/', include('hr.urls')),
path('logistic/', include('logistic.urls')),
path('api/logistic/', include('logistic.urls')),
path('api/hq/', include('hq.urls')),
]

Loading…
Cancel
Save