api.models.doesnotexist: la consulta correspondiente no existe
Use .filter() instead of .get() or use
try:
user = UniversityDetails.objects.get(email=email)
except UniversityDetails.DoesNotExist:
user = None
MitchAloha