From a6d0266668befc272d83cddf1f66932504d0a2be Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Mon, 25 Aug 2025 10:10:12 +0500 Subject: [PATCH] rename url --- config/urls.py | 2 +- core/apps/wherehouse/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/urls.py b/config/urls.py index 17191e3..ac26667 100644 --- a/config/urls.py +++ b/config/urls.py @@ -29,7 +29,7 @@ urlpatterns = [ path('accounts/', include('core.apps.accounts.urls')), path('company/', include('core.apps.company.urls')), path('shared/', include('core.apps.shared.urls')), - path('wherehouses/', include('core.apps.wherehouse.urls')), + path('warehouse/', include('core.apps.wherehouse.urls')), path('projects/', include('core.apps.projects.urls')), path('products/', include('core.apps.products.urls')), path('orders/', include('core.apps.orders.urls')), diff --git a/core/apps/wherehouse/urls.py b/core/apps/wherehouse/urls.py index 8a784ea..34b4feb 100644 --- a/core/apps/wherehouse/urls.py +++ b/core/apps/wherehouse/urls.py @@ -4,7 +4,7 @@ from core.apps.wherehouse.views import wherehouse as wherehouse_views urlpatterns = [ - path('wherehouse/', include( + path('warehouse/', include( [ path('list/', wherehouse_views.WhereHouseListApiView.as_view()), path('/', wherehouse_views.WhereHouseDetailApiView.as_view()),