Skip to content

Commit

Permalink
Call render_unicode on template to avoid errors with encoding in Auto…
Browse files Browse the repository at this point in the history
…CompleteFieldRenderer
  • Loading branch information
Pierre GIRAUD committed May 2, 2011
1 parent c3e5375 commit 414c74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fa/jquery/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def render(self, **kwargs):
except TypeError:
options.update(options={})
try:
return literal(self.template.render(**options))
return literal(self.template.render_unicode(**options))
except:
raise ValueError('Invalid options: %s' % options)
return type('%sPluginRenderer' % plugin.title(), (Renderer,),
Expand Down

0 comments on commit 414c74b

Please sign in to comment.