Skip to content

Commit

Permalink
Fixes Import Error (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
iMerica committed Jul 14, 2021
1 parent 8b4aba0 commit 82c57b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dj_rest_auth/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
user_pk_to_url_str, user_username)
from allauth.utils import build_absolute_uri
else:
from django.contrib.auth.forms import DefaultPasswordResetForm
from django.contrib.auth.forms import PasswordResetForm as DefaultPasswordResetForm
from django.contrib.auth.tokens import default_token_generator


class PasswordResetForm(DefaultPasswordResetForm):
def clean_email(self):
"""
Expand Down

0 comments on commit 82c57b7

Please sign in to comment.