Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing: Deprecation warnings when used with Django 1.9 #77 #82

Merged
merged 2 commits into from Apr 26, 2016
Merged

Fixing: Deprecation warnings when used with Django 1.9 #77 #82

merged 2 commits into from Apr 26, 2016

Conversation

hugoleodev
Copy link

Fixing: Deprecation warnings when used with Django 1.9 #77

@tzangms tzangms merged commit ab0b59e into tzangms:master Apr 26, 2016
@@ -77,6 +77,9 @@ def render(element, markup_classes):
template = get_template("bootstrapform/form.html")
context = Context({'form': element, 'classes': markup_classes})

if django_version >= (1, 8):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is over-indented

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. If the element_type is "boundfield", then the error in the issue description occurs because this fix does not get applied. Would be nice if we could get a new release with this fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants