mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-01 16:10:43 +00:00
Add autocomplete fields to admin views for "build" app
This commit is contained in:
1 parent
71aa6a910d
commit
cdf63c43aa
2 files changed
+17
-2
No files matched your search
@@ -126,7 +126,7 @@ class PartRelatedAdmin(admin.ModelAdmin):
|
||||
"""
|
||||
Class to manage PartRelated objects
|
||||
"""
|
||||
|
||||
|
||||
autocomplete_fields = ('part_1', 'part_2')
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ class PartStarAdmin(admin.ModelAdmin):
|
||||
class PartCategoryStarAdmin(admin.ModelAdmin):
|
||||
|
||||
list_display = ('category', 'user')
|
||||
|
||||
|
||||
autocomplete_fields = ('category',)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user