Skip to content

Commit

Permalink
updated sekizai_tags postprocessor to pass the current context
Browse files Browse the repository at this point in the history
  • Loading branch information
pannal committed Feb 25, 2012
1 parent 0a7ec69 commit 3c0da40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sekizai/templatetags/sekizai_tags.py
Expand Up @@ -77,7 +77,7 @@ def render_tag(self, context, name, postprocessor, nodelist):
data = context[varname][name].render()
if postprocessor:
func = import_processor(postprocessor)
data = func(data, name)
data = func(context, data, name)
return '%s\n%s' % (data, rendered_contents)
register.tag(RenderBlock)

Expand Down

0 comments on commit 3c0da40

Please sign in to comment.