I am running a django application and getting the following error:
TypeError at /login
render_to_string() got an unexpected keyword argument 'status'
Request Method: GET
Request URL: http://10.107.44.122:8002/login?next=/
Django Version: 1.7.1
Exception Type: TypeError
Exception Value: render_to_string() got an unexpected keyword argument 'status'
Exception Location: /usr/local/lib/python2.7/dist-packages/django/shortcuts.py in render_to_response, line 23
Python Executable: /usr/bin/python
Python Version: 2.7.6
The only place I could think of where the error might be coming from is :
render_to_response('login.html', context, status=status, context_instance=RequestContext(request))
status
is supposed to be expected keyword for render_to_response
, then why this error?