From 8f98db8932270c10cd778f9827f1377c908ee3e5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 14 Jul 2024 03:30:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- taggit/admin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/taggit/admin.py b/taggit/admin.py index 94591397..7dc9df6f 100644 --- a/taggit/admin.py +++ b/taggit/admin.py @@ -32,6 +32,9 @@ def get_urls(self): ] return custom_urls + urls + @admin.action( + description="Merge selected tags" + ) def render_tag_form(self, request, queryset): selected = request.POST.getlist(admin.helpers.ACTION_CHECKBOX_NAME) if not selected: @@ -82,4 +85,3 @@ def merge_tags_view(self, request): return render(request, "admin/taggit/merge_tags_form.html", context) - render_tag_form.short_description = "Merge selected tags"