Skip to content

Commit

Permalink
fixes #272 signature of render function was not correct in pluginbase
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Lauber committed Nov 26, 2009
1 parent d90fe7f commit d6f6ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/plugin_base.py
Expand Up @@ -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):
Expand Down

0 comments on commit d6f6ded

Please sign in to comment.