mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-12 04:49:25 +00:00
addition of Stock app, model, templates, urls
This commit is contained in:
8
stock/urls.py
Normal file
8
stock/urls.py
Normal file
@ -0,0 +1,8 @@
|
||||
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'),
|
||||
]
|
Reference in New Issue
Block a user