api.models.doesnotexist: la requête correspondante n'existe pas
Use .filter() instead of .get() or use
try:
user = UniversityDetails.objects.get(email=email)
except UniversityDetails.DoesNotExist:
user = None
MitchAloha