From 3f94933017b6a550c353bed0e0ab5181c248dd78 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 6 May 2025 04:14:04 +0300 Subject: [PATCH] Add core.b2b_urls to B2B URL routing Included the core.b2b_urls module in the main B2B URL patterns to organize and modularize URL configurations. This change enhances code maintainability and improves routing logic clarity. --- evibes/b2b_urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evibes/b2b_urls.py b/evibes/b2b_urls.py index db6e8d11..8cddcb31 100644 --- a/evibes/b2b_urls.py +++ b/evibes/b2b_urls.py @@ -1,6 +1,6 @@ from django.conf import settings from django.conf.urls.static import static -from django.urls import path +from django.urls import include, path from drf_spectacular.views import SpectacularAPIView from core.views import CustomRedocView, CustomSwaggerView, favicon_view @@ -16,6 +16,7 @@ urlpatterns = [ path(r"docs/swagger/", CustomSwaggerView.as_view(url_name="schema-b2b"), name="swagger-ui-b2b"), path(r"docs/redoc/", CustomRedocView.as_view(url_name="schema-b2b"), name="redoc-ui-b2b"), path(r"favicon.ico", favicon_view), + path(r"", include("core.b2b_urls")), ] if settings.DEBUG: