mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-18 12:13:24 +00:00
10 lines
339 B
Python
10 lines
339 B
Python
from django.conf.urls import include, url
|
|
|
|
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'^(?P<stock_id>[0-9]+)/newItem$', StockItemCreateView.as_view(), name='new_item'),
|
|
]
|