From 73b173b92a4202cf63f9023e2bb00b8f0baaeaf3 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 17 Feb 2020 21:02:47 +0100 Subject: [PATCH] admin: fix form missing on update pages --- passbook/admin/views/property_mapping.py | 1 + 1 file changed, 1 insertion(+) diff --git a/passbook/admin/views/property_mapping.py b/passbook/admin/views/property_mapping.py index 420f10dd7..d81b933ed 100644 --- a/passbook/admin/views/property_mapping.py +++ b/passbook/admin/views/property_mapping.py @@ -96,6 +96,7 @@ class PropertyMappingUpdateView( success_message = _("Successfully updated Property Mapping") def get_context_data(self, **kwargs): + kwargs = super().get_context_data(**kwargs) form_cls = self.get_form_class() if hasattr(form_cls, "template_name"): kwargs["base_template"] = form_cls.template_name