diff --git a/hackathon_site/registration/forms.py b/hackathon_site/registration/forms.py index 39c390a7..950cbbe9 100644 --- a/hackathon_site/registration/forms.py +++ b/hackathon_site/registration/forms.py @@ -370,6 +370,7 @@ def clean_team_code(self): return team_code + class SignInForm(forms.Form): email = forms.EmailField() @@ -414,4 +415,4 @@ def clean_email(self): except Exception as e: raise e - return email \ No newline at end of file + return email diff --git a/hackathon_site/registration/views.py b/hackathon_site/registration/views.py index a735b8b5..574a8013 100644 --- a/hackathon_site/registration/views.py +++ b/hackathon_site/registration/views.py @@ -277,4 +277,4 @@ def get(self, request, *args, **kwargs): if not team.profiles.exists(): team.delete() - return redirect(reverse_lazy("event:dashboard")) \ No newline at end of file + return redirect(reverse_lazy("event:dashboard"))