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 may try this way. just use a function to get your object
def get_object(self, id): try: return UniversityDetails.objects.get(email__exact=email) except UniversityDetails.DoesNotExist: return False