2👍
✅
You should provide the RequestContext
to the render_to_response()
call or, as the better option, use the render()
shortcut:
from django.shortcuts import render
return render(request, 'ProjectLogging/login.html')
Source:stackexchange.com