2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 05:25:42 +00:00

Improvements to stock page

- Fixed URL / view (use class views)
- Better slug lookup
- Better table rendering using ol' mate bootstrap
This commit is contained in:
Oliver
2018-04-15 20:10:49 +10:00
parent ab4b91cd46
commit 9d89db34b2
17 changed files with 264 additions and 94 deletions

View File

@ -20,7 +20,7 @@ class PartIndex(ListView):
def get_context_data(self, **kwargs):
context = super(PartIndex, self).get_context_data(**kwargs)
context = super(PartIndex, self).get_context_data(**kwargs).copy()
# View top-level categories
children = PartCategory.objects.filter(parent=None)