PEP fixes

This commit is contained in:
Matthias 2021-11-16 00:21:14 +01:00
parent 65764effbb
commit 53422517ed
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -40,7 +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']
list_filter = ['active']
actions = [plugin_activate, plugin_deactivate, ]