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.
This commit is contained in:
parent
5012727e84
commit
3f94933017
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue