diff --git a/InvenTree/part/urls.py b/InvenTree/part/urls.py index 037c792480..2707a563c7 100644 --- a/InvenTree/part/urls.py +++ b/InvenTree/part/urls.py @@ -101,8 +101,6 @@ part_urls = [ # Individual part using pk url(r'^(?P\d+)/', include(part_detail_urls)), - # Individual part using IPN as slug - url(r'^(?P[-\w]+)/', views.PartDetailFromIPN.as_view(), name='part-detail-from-ipn'), # Part category url(r'^category/(?P\d+)/', include(part_category_urls)), @@ -126,6 +124,9 @@ part_urls = [ # Bom Items url(r'^bom/(?P\d+)/', include(part_bom_urls)), + # Individual part using IPN as slug + url(r'^(?P[-\w]+)/', views.PartDetailFromIPN.as_view(), name='part-detail-from-ipn'), + # Top level part list (display top level parts and categories) url(r'^.*$', views.PartIndex.as_view(), name='part-index'), ]