rename url
This commit is contained in:
@@ -29,7 +29,7 @@ urlpatterns = [
|
|||||||
path('accounts/', include('core.apps.accounts.urls')),
|
path('accounts/', include('core.apps.accounts.urls')),
|
||||||
path('company/', include('core.apps.company.urls')),
|
path('company/', include('core.apps.company.urls')),
|
||||||
path('shared/', include('core.apps.shared.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('projects/', include('core.apps.projects.urls')),
|
||||||
path('products/', include('core.apps.products.urls')),
|
path('products/', include('core.apps.products.urls')),
|
||||||
path('orders/', include('core.apps.orders.urls')),
|
path('orders/', include('core.apps.orders.urls')),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ from core.apps.wherehouse.views import wherehouse as wherehouse_views
|
|||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('wherehouse/', include(
|
path('warehouse/', include(
|
||||||
[
|
[
|
||||||
path('list/', wherehouse_views.WhereHouseListApiView.as_view()),
|
path('list/', wherehouse_views.WhereHouseListApiView.as_view()),
|
||||||
path('<uuid:id>/', wherehouse_views.WhereHouseDetailApiView.as_view()),
|
path('<uuid:id>/', wherehouse_views.WhereHouseDetailApiView.as_view()),
|
||||||
|
|||||||
Reference in New Issue
Block a user