Addition of the stock parameter to the counter admin list

This commit is contained in:
guillaume-renaud committed 2017-01-05 11:00:08 +01:00
1 parent 33c7e7db9f
commit 29fb0af893
5 files changed
+43 -5

No files matched your search

+3 -2
View File
@@ -3,6 +3,7 @@ from django.conf.urls import include, url
from stock.views import *
urlpatterns = [
url(r'^(?P<counter_id>[0-9]+)$', StockListView.as_view(), name='stock_list'),
url(r'^(?P<counter_id>[0-9]+)/new$', StockCreateView.as_view(), name='stock_new'),
url(r'^(?P<stock_id>[0-9]+)$', StockMain.as_view(), name='main'),
url(r'^new/counter/(?P<counter_id>[0-9]+)$', StockCreateView.as_view(), name='new'),
url(r'^(?P<stock_id>[0-9]+)/newItem$', StockItemCreateView.as_view(), name='new_item'),
]