addition of Stock app, model, templates, urls

This commit is contained in:
guillaume-renaud committed 2017-01-05 11:00:08 +01:00
1 parent fdfd7e7388
commit 33c7e7db9f
6 files changed
+52 -4

No files matched your search

+8
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'),
]