Browse files

fixes #272 signature of render function was not correct in pluginbase

  • Loading branch information...
1 parent d90fe7f commit d6f6ded0fac60035eadf9c68d27a952e061a314f @digi604 digi604 committed Nov 26, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/plugin_base.py
View
2 cms/plugin_base.py
@@ -59,7 +59,7 @@ class Meta:
self.placeholder = None
- def render(self, context, placeholder):
+ def render(self, context, instance, placeholder):
raise NotImplementedError, "render needs to be implemented"
def render_change_form(self, request, context, add=False, change=False, form_url='', obj=None):

0 comments on commit d6f6ded

Please sign in to comment.