mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-11 07:24:15 +00:00
Added views for part and part category
- Worked out simple linking - Category path displaying correctly - Category page lists parts in category
This commit is contained in:
@ -3,5 +3,10 @@ from django.conf.urls import url
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
# Display part detail
|
||||
url(r'^(?P<part_id>[0-9]+)/$', views.partdetail, name='detail'),
|
||||
|
||||
# Display a part category
|
||||
url(r'^category/(?P<category_id>[0-9]+)/$', views.category, name='category'),
|
||||
url(r'^$', views.index, name='index')
|
||||
]
|
Reference in New Issue
Block a user