Shopping list structure view addition

This commit is contained in:
guillaume-renaud
2016-11-24 10:40:42 +01:00
parent 9d8264bcbb
commit 5b2f126eee
5 changed files with 31 additions and 13 deletions

View File

@ -12,5 +12,5 @@ urlpatterns = [
url(r'^(?P<stock_id>[0-9]+)$', StockItemList.as_view(), name='items_list'),
url(r'^(?P<stock_id>[0-9]+)/stockItem/newItem$', StockItemCreateView.as_view(), name='new_item'),
url(r'^stockItem/(?P<item_id>[0-9]+)/edit$', StockItemEditView.as_view(), name='edit_item'),
url(r'^(?P<stock_id>[0-9]+)/shopping$', StockShoppingListView.as_view(), name='shopping_list'),
]