I have implemented a password recovery functionality in django. With my method, the new password will be sent to the email id entered. It works fine when given the correct e
You can use this in your case, it will work fine.
user = UniversityDetails.objects.filter(email=email).first()