Skip to content

Commit

Permalink
Add black formatting and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
varun kumar committed Sep 12, 2023
1 parent 47ea67f commit cfcf9f1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions allauth/account/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.contrib.auth.decorators import login_required
from django.contrib.sites.shortcuts import get_current_site
from django.core.validators import EmailValidator
from django.forms import ValidationError
from django.http import (
Http404,
HttpResponsePermanentRedirect,
Expand Down Expand Up @@ -46,8 +48,7 @@
sync_user_email_addresses,
url_str_to_user_pk,
)
from django.core.validators import EmailValidator
from django.forms import ValidationError


INTERNAL_RESET_SESSION_KEY = "_password_reset_key"

Expand Down Expand Up @@ -292,7 +293,7 @@ def get_context_data(self, **kwargs):
return ret

def get_initial(self):
intial = super(SignupView,self).get_initial()
intial = super(SignupView, self).get_initial()
email = self.request.GET.get("email")
if email:
try:
Expand Down

0 comments on commit cfcf9f1

Please sign in to comment.