diff --git a/recruitment/auth.py b/recruitment/auth.py index 48ab8b7b1..fcd4d9de5 100644 --- a/recruitment/auth.py +++ b/recruitment/auth.py @@ -1,7 +1,9 @@ from django.contrib.auth.backends import BaseBackend -from .models import Candidate from django.contrib.auth.models import AnonymousUser +from .models import Candidate + + class CandidateAuthenticationBackend(BaseBackend): def authenticate(self, request, username=None, password=None): try: @@ -14,4 +16,4 @@ class CandidateAuthenticationBackend(BaseBackend): try: return Candidate.objects.get(pk=user_id) except Candidate.DoesNotExist: - return AnonymousUser() \ No newline at end of file + return AnonymousUser() diff --git a/recruitment/templates/candidate/candidate_interview_view.html b/recruitment/templates/candidate/candidate_interview_view.html index c674f8855..c625e1158 100644 --- a/recruitment/templates/candidate/candidate_interview_view.html +++ b/recruitment/templates/candidate/candidate_interview_view.html @@ -1,4 +1,4 @@ -{% load static i18n %} +{% load static i18n recruitmentfilters %}