mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
21 lines
418 B
Python
21 lines
418 B
Python
"""
|
|
URL lookup for Build app
|
|
"""
|
|
|
|
from django.urls import include, re_path
|
|
|
|
from . import views
|
|
|
|
build_detail_urls = [
|
|
re_path(r'^delete/', views.BuildDelete.as_view(), name='build-delete'),
|
|
|
|
re_path(r'^.*$', views.BuildDetail.as_view(), name='build-detail'),
|
|
]
|
|
|
|
build_urls = [
|
|
|
|
re_path(r'^(?P<pk>\d+)/', include(build_detail_urls)),
|
|
|
|
re_path(r'.*$', views.BuildIndex.as_view(), name='build-index'),
|
|
]
|