mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
13 lines
339 B
Python
13 lines
339 B
Python
from django.conf.urls import url
|
|
|
|
from . import views
|
|
|
|
urlpatterns = [
|
|
# Detail for a single stock item
|
|
url(r'^(?P<pk>[0-9]+)/?$', views.StockDetail.as_view(), name='stockitem-detail'),
|
|
|
|
# List all stock items, with optional filters
|
|
url(r'^\?.*/?$', views.StockList.as_view()),
|
|
url(r'^$', views.StockList.as_view()),
|
|
]
|