We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b68564 commit 9cfbf07Copy full SHA for 9cfbf07
bootstrapform/templatetags/bootstrap.py
@@ -77,8 +77,8 @@ def render(element, markup_classes):
77
template = get_template("bootstrapform/form.html")
78
context = Context({'form': element, 'classes': markup_classes})
79
80
- if django_version >= (1, 8):
81
- context = context.flatten()
+ if django_version >= (1, 8):
+ context = context.flatten()
82
83
return template.render(context)
84
0 commit comments