Django error while logging in as a candidate


I have checked all the views.py file, and the login code all seem to be well aligned but still experiencing the above error.

Other details


How do I go about this. Please, need help