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