added default template to listview of lxctemplate
This commit is contained in:
@@ -76,4 +76,5 @@ class LxcAdmin(admin.ModelAdmin):
|
|||||||
class LxcTemplateAdmin(admin.ModelAdmin):
|
class LxcTemplateAdmin(admin.ModelAdmin):
|
||||||
actions = [sync_all_lxc_templates_from_proxmox]
|
actions = [sync_all_lxc_templates_from_proxmox]
|
||||||
search_fields = ('volid',)
|
search_fields = ('volid',)
|
||||||
list_display = ('volid', 'human_size', 'content')
|
list_display = ('volid', 'human_size', 'content', 'is_default_template')
|
||||||
|
list_filter = ('is_default_template',)
|
||||||
|
|||||||
Reference in New Issue
Block a user