mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 13:35:40 +00:00
Add autocomplete fields to admin views for "build" app
This commit is contained in:
@ -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