diff --git a/backend/support/admin.py b/backend/support/admin.py index e22de4232..be84b5731 100644 --- a/backend/support/admin.py +++ b/backend/support/admin.py @@ -84,9 +84,9 @@ def change_view(self, request, object_id, form_url="", extra_context=None): extra_context = extra_context or {} extra_context["show_save_and_continue"] = False extra_context["show_save"] = False - extra_context[ - "show_save_and_add_another" - ] = False # this does not work if has_add_permision is True + extra_context["show_save_and_add_another"] = ( + False # this does not work if has_add_permision is True + ) return super().change_view(request, object_id, extra_context=extra_context) def save_model(self, request, obj, form, change):