Permalink
Browse files

Bump to Version 3.3, Support up to Django 1.11

1 parent 37baf71 commit 15187b95e7d12fa9b15107d2786458a573571a39 @tzangms committed Aug 3, 2017
Showing with 2 additions and 5 deletions.
  1. +1 −1 bootstrapform/meta.py
  2. +1 −4 bootstrapform/templatetags/bootstrap.py
View
@@ -1,5 +1,5 @@
from distutils.version import StrictVersion
-VERSION = StrictVersion('3.2.1')
+VERSION = StrictVersion('3.3')
@@ -79,12 +79,9 @@ def render(element, markup_classes):
context = {'form': element, 'classes': markup_classes}
- if django_version < (1, 11):
+ if django_version < (1, 8):
context = Context(context)
- if django_version >= (1, 8):
- context = context.flatten()
-
return template.render(context)

0 comments on commit 15187b9

Please sign in to comment.