mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-12 04:49:25 +00:00
Addition of the stock parameter to the counter admin list
This commit is contained in:
@ -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'),
|
||||
]
|
||||
|
Reference in New Issue
Block a user