added default template to listview of lxctemplate

This commit is contained in:
Holger Sielaff
2025-08-27 10:13:53 +02:00
parent 89cdbf3003
commit 102ad48e81

View File

@@ -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',)