1👍
✅
Depends on your Django version, but the render method used to take two context related arguments, context
and context_instance
, the latter expects a Context
or RequestContext
object, the first a dictionary. The documentation has some specific deprecation details:
https://docs.djangoproject.com/en/1.8/topics/http/shortcuts/#optional-arguments
Source:stackexchange.com