diff --git a/froide_govplan/cms_plugins.py b/froide_govplan/cms_plugins.py index d6cb553..72f1035 100644 --- a/froide_govplan/cms_plugins.py +++ b/froide_govplan/cms_plugins.py @@ -23,6 +23,7 @@ class GovernmentPlansPlugin(CMSPluginBase): def render(self, context, instance, placeholder): context = super().render(context, instance, placeholder) + context["plugin"] = instance context["object_list"] = instance.get_plans( context["request"], published_only=False )