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

render() must be called with a dict, not a RequestContext (RemovedInDjango110Warning) #3573

Closed
jamesbeith opened this issue Oct 29, 2015 · 4 comments
Labels
Milestone

Comments

@jamesbeith
Copy link
Contributor

Got the following warning on Django 1.9b1 whilst testing out the Rendering HTML example.

.../python3.4/site-packages/rest_framework/renderers.py:171: RemovedInDjango110Warning: render() must be called with a dict, not a RequestContext.
  return template.render(context)
@tomchristie tomchristie added this to the 3.3.2 Release milestone Nov 4, 2015
@tomchristie
Copy link
Member

Okay, thanks for raising that.

@benred42
Copy link

benred42 commented Dec 1, 2015

I was looking into this and it appears to have been fixed in #3654.

@tomchristie
Copy link
Member

Closing given above comment. Welcome to reopen if needed. Thanks @benred42.

@2tunnels
Copy link

Getting the same warning when using class based view (TemplateView).

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

No branches or pull requests

5 participants