addition of Stock app, model, templates, urls

This commit is contained in:
guillaume-renaud
2016-10-31 08:19:46 +01:00
parent fdfd7e7388
commit 33c7e7db9f
6 changed files with 52 additions and 4 deletions

8
stock/urls.py Normal file
View 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'),
]