mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 10:34:34 +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:
1 parent
ab4b91cd46
commit
9d89db34b2
17 files changed
+264
-94
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user