views.py
13.6 KB
-
Django 1.11: Fix TypeError bug · 952ec571
From Django 1.11 support for passing a Context has been deprecated. "TypeError: context must be a dict rather than RequestContext." Use the render shortcut instead https://docs.djangoproject.com/en/1.11/topics/http/shortcuts/#render
Ben Copeland committed