InvenTree/InvenTree/stock/urls.py
Oliver Walters 7d7579d3d6 Style fixes
2017-04-15 00:55:30 +10:00

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()),
]