From 102ad48e8138fede91c665fafdede9e6024bff14 Mon Sep 17 00:00:00 2001 From: Holger Sielaff Date: Wed, 27 Aug 2025 10:13:53 +0200 Subject: [PATCH] added default template to listview of lxctemplate --- proxmox/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxmox/admin.py b/proxmox/admin.py index a701f1a..7020309 100644 --- a/proxmox/admin.py +++ b/proxmox/admin.py @@ -76,4 +76,5 @@ class LxcAdmin(admin.ModelAdmin): class LxcTemplateAdmin(admin.ModelAdmin): actions = [sync_all_lxc_templates_from_proxmox] search_fields = ('volid',) - list_display = ('volid', 'human_size', 'content') + list_display = ('volid', 'human_size', 'content', 'is_default_template') + list_filter = ('is_default_template',)