From 170cb544907ecc22d1a99ea3fe71ce684fa218fd Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 6 May 2022 21:30:27 +1000 Subject: [PATCH] Sort urls.py --- InvenTree/InvenTree/urls.py | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index aefed5156b..2b31d7c3b5 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -153,28 +153,24 @@ backendpatterns = [ ] frontendpatterns = [ - re_path(r'^part/', include(part_urls)), - re_path(r'^manufacturer-part/', include(manufacturer_part_urls)), - re_path(r'^supplier-part/', include(supplier_part_urls)), + # Apps + re_path(r'^build/', include(build_urls)), re_path(r'^common/', include(common_urls)), - - re_path(r'^stock/', include(stock_urls)), - re_path(r'^company/', include(company_urls)), re_path(r'^order/', include(order_urls)), - - re_path(r'^build/', include(build_urls)), - - re_path(r'^settings/', include(settings_urls)), - - re_path(r'^notifications/', include(notifications_urls)), + re_path(r'^manufacturer-part/', include(manufacturer_part_urls)), + re_path(r'^part/', include(part_urls)), + re_path(r'^stock/', include(stock_urls)), + re_path(r'^supplier-part/', include(supplier_part_urls)), re_path(r'^edit-user/', EditUserView.as_view(), name='edit-user'), re_path(r'^set-password/', SetPasswordView.as_view(), name='set-password'), re_path(r'^index/', IndexView.as_view(), name='index'), + re_path(r'^notifications/', include(notifications_urls)), re_path(r'^search/', SearchView.as_view(), name='search'), + re_path(r'^settings/', include(settings_urls)), re_path(r'^stats/', DatabaseStatsView.as_view(), name='stats'), # admin sites