mirror of
https://github.com/ae-utbm/sith.git
synced 2026-11-20 16:09:54 +00:00
Creation of the Stock list, edit, create views and creation StockItem create view
This commit is contained in:
1 parent
ccb339b9bd
commit
887893fb2d
9 files changed
+2972
-14
No files matched your search
@@ -5,5 +5,7 @@ from stock.views import *
|
||||
urlpatterns = [
|
||||
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'^edit/(?P<stock_id>[0-9]+)$', StockEditView.as_view(), name='edit'),
|
||||
url(r'^list$', StockListView.as_view(), name='list'),
|
||||
url(r'^(?P<stock_id>[0-9]+)/newItem$', StockItemCreateView.as_view(), name='new_item'),
|
||||
]
|
||||
Reference in new issue
Block a user