InvenTree/InvenTree/build/urls.py
2018-04-17 00:32:02 +10:00

17 lines
418 B
Python

from django.conf.urls import url, include
from django.views.generic.base import RedirectView
from . import views
build_detail_urls = [
url(r'^.*$', views.BuildDetail.as_view(), name='build-detail'),
]
build_urls = [
# url(r'new/?', views.BuildCreate.as_view(), name='build-create'),
url(r'^(?P<pk>\d+)/', include(build_detail_urls)),
url(r'.*$', views.BuildIndex.as_view(), name='build-index'),
]