Skip to content

Commit

Permalink
Fixes jazzband#192 - floppyforms exception on Django 1.11.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
emorozov committed Jul 24, 2017
1 parent fec7eb1 commit 3c28827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floppyforms/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def render(self, name, value, attrs=None, **kwargs):
template_name = kwargs.pop('template_name', None)
if template_name is None:
template_name = self.template_name
context = self.get_context(name, value, attrs=attrs or {}, **kwargs)
context = self.get_context(name, value, attrs=attrs or {})
context = flatten_contexts(self.context_instance, context)
return loader.render_to_string(template_name, context)

Expand Down

0 comments on commit 3c28827

Please sign in to comment.