mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-07 09:41:31 +00:00
add filter to admin
This commit is contained in:
1 file changed
+1
@@ -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, ]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user