mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add filter to admin
This commit is contained in:
parent
f460780e39
commit
aec6a58cad
@ -40,6 +40,7 @@ class PluginConfigAdmin(admin.ModelAdmin):
|
||||
"""Custom admin with restricted id fields"""
|
||||
readonly_fields = ["key", "name", ]
|
||||
list_display = ['active', '__str__', 'key', 'name', ]
|
||||
list_filter = ['active']
|
||||
actions = [plugin_activate, plugin_deactivate, ]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user