mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
17 lines
418 B
Python
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'),
|
|
] |