Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
[admin] Added templates in config filter #47
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Apr 12, 2017
1 parent a7c256b commit 90d4e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_netjsonconfig/base/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def clean_templates(self):

class AbstractConfigAdmin(BaseConfigAdmin):
list_display = ['name', 'backend', 'status', 'last_ip', 'created', 'modified']
list_filter = ['backend', 'status', 'created']
list_filter = ['backend', 'templates', 'status', 'created']
search_fields = ['id', 'name', 'key', 'mac_address', 'last_ip']
readonly_fields = ['id_hex', 'status', 'last_ip']
fields = ['name',
Expand Down

0 comments on commit 90d4e99

Please sign in to comment.