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

Added a categorylist page

Displays list of all top-level part categories
This commit is contained in:
Oliver Walters
2017-03-26 10:29:51 +11:00
parent 3f81046a26
commit b919418fb5
5 changed files with 23 additions and 4 deletions

View File

@ -6,7 +6,10 @@ urlpatterns = [
# Display part detail
url(r'^(?P<part_id>[0-9]+)/$', views.partdetail, name='detail'),
# Display a part category
# Display a list of top-level categories
url(r'^category/$', views.categorylist, name='categorylist'),
# Display a single part category
url(r'^category/(?P<category_id>[0-9]+)/$', views.category, name='category'),
url(r'^$', views.index, name='index')
]