2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-11 07:24:15 +00:00

Move BomItem into the Part app

- Does not make sense to keep these separate
- Removed bom app entirely
This commit is contained in:
Oliver
2018-04-14 14:19:03 +10:00
parent 1da6df0c5e
commit e30a089c76
15 changed files with 84 additions and 122 deletions

View File

@ -29,6 +29,15 @@ part_api_urls = [
url(r'^$', api.PartList.as_view()),
]
bom_api_urls = [
# Bom Item detail
url(r'^(?P<pk>[0-9]+)/?$', api.BomItemDetail.as_view(), name='bomitem-detail'),
# List of top-level categories
url(r'^\?*.*/?$', api.BomItemList.as_view()),
url(r'^$', api.BomItemList.as_view())
]
part_detail_urls = [
url(r'^track/?', views.track, name='track'),
url(r'^bom/?', views.bom, name='bom'),
@ -47,6 +56,8 @@ part_urls = [
url(r'^.*$', RedirectView.as_view(url='list', permanent=False), name='index'),
]
"""
part_param_urls = [
# Detail of a single part parameter