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

Deprecation warning for Django 1.10: template.render #77

Closed
ivanvenosdel opened this issue Dec 7, 2015 · 6 comments
Closed

Deprecation warning for Django 1.10: template.render #77

ivanvenosdel opened this issue Dec 7, 2015 · 6 comments

Comments

@ivanvenosdel
Copy link
Contributor

Catching this deprecation warning when rendering using the template tag.

/bootstrapform/templatetags/bootstrap.py:80: RemovedInDjango110Warning: render() must be called with a dict, not a Context.
  return template.render(context)
@N3TC4T
Copy link

N3TC4T commented Feb 7, 2016

+1

2 similar comments
@troeger
Copy link

troeger commented Mar 8, 2016

+1

@hugoleodev
Copy link

+1

@paoyong
Copy link

paoyong commented Apr 14, 2016

+1, getting this error too.

tzangms added a commit that referenced this issue Apr 26, 2016
Fixing: Deprecation warnings when used with Django 1.9 #77
@tzangms
Copy link
Owner

tzangms commented Apr 26, 2016

Hi all,

This issue has been fixed by @hugoleodev, and I've been merge and upload it to PyPI, it's version 3.2.1. Thanks you all guys.

@dan-klasson
Copy link

@tzangms Seems to be a bug with this PR. The indentation here should be one more tab to the left to make it work for boundfields as well:

        if django_version >= (1, 8):
            context = context.flatten()

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

No branches or pull requests

7 participants