2👍
✅
remove the request when return .. It’s should be
return render_to_response('rango/index.html',context_dict)
or use render instead
return render(request, 'rango/index.html', context_dict)
Note:
render() is the same as a call to render_to_response() with a context_instance argument that that forces the use of a RequestContext.
Source:stackexchange.com