1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-03 17:36:05 +00:00

feat: a Tags page and tags in the API

Administration gets a Tags page: each tag with how many VMs and hosts
have it, renamed (on the VMs, hosts and removed VMs that keep it) or
deleted (taken off all of them). Both are logged.

The API gives a VM's and a host's tags by name, read only, and its VM
and host lists take ?tag= for those with a tag.
This commit is contained in:
catborise 2026-11-18 20:50:59 +03:00
parent 11b447f681
commit f4051213fb
15 changed files with 508 additions and 163 deletions

View file

@ -18,4 +18,7 @@ urlpatterns = [
path("logs/export.xlsx", views.logs_export, name="logs_export"),
path("removed-vms/", views.tombstone_list, name="tombstone_list"),
path("removed-vms/<int:pk>/delete/", views.tombstone_delete, name="tombstone_delete"),
path("tags/", views.tag_list, name="tag_list"),
path("tags/<int:pk>/update/", views.tag_update, name="tag_update"),
path("tags/<int:pk>/delete/", views.tag_delete, name="tag_delete"),
]