Commits

'Salvator'  committed a2e613a

fixed django 1.1.1 error while adding new FAQEntry in admin panel

  • Participants
  • Parent commits ba7a912

Comments (0)

Files changed (1)

File cmsplugin_faq/cms_plugins.py

         page = None
         if obj:
             page = obj.page
-        plugins = plugin_pool.get_text_enabled_plugins(self.placeholder, page)
+        plugins = plugin_pool.get_text_enabled_plugins(self.placeholder)
         form = self.get_form_class(request, plugins)
         kwargs['form'] = form # override standard form
         return super(CMSFaqEntryPlugin, self).get_form(request, obj, **kwargs)