mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
22 lines
494 B
Python
22 lines
494 B
Python
"""
|
|
URL lookup for Build app
|
|
"""
|
|
|
|
from django.urls import include, re_path
|
|
|
|
from . import views
|
|
|
|
build_detail_urls = [
|
|
re_path(r'^cancel/', views.BuildCancel.as_view(), name='build-cancel'),
|
|
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'),
|
|
]
|