Quand on renomme, on renomme

This commit is contained in:
Jean-Marie Favreau 2024-11-20 22:36:56 +01:00
parent 4cc6db84e2
commit 11bd53cbeb

View File

@ -1951,7 +1951,8 @@ def rename_tag(request, t):
# find tag object
tag_object = Tag.objects.filter(name=t).first()
if tag_object:
tag_object.delete()
tag_object.name = new_name
tag_object.save()
messages.success(
request,
(_(