add new api
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from django.urls import path, include
|
||||
|
||||
from core.apps.wherehouse.views import wherehouse as wherehouse_views
|
||||
from core.apps.wherehouse.views import inventory as inventory_views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
@@ -13,4 +14,9 @@ urlpatterns = [
|
||||
path('<uuid:id>/update/', wherehouse_views.WhereHouseUpdateApiView.as_view()),
|
||||
]
|
||||
)),
|
||||
]
|
||||
path('inventory/', include(
|
||||
[
|
||||
path('<uuid:wherehouse_id>/list/', inventory_views.InventoryListApiView.as_view()),
|
||||
]
|
||||
)),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user