aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'alphabetlearning/payments/forms.py')
-rw-r--r--alphabetlearning/payments/forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alphabetlearning/payments/forms.py b/alphabetlearning/payments/forms.py
index f69397f..3aa2d95 100644
--- a/alphabetlearning/payments/forms.py
+++ b/alphabetlearning/payments/forms.py
@@ -5,10 +5,10 @@ from .models import EmailVerification
class EmailVerificationForm(forms.ModelForm):
class Meta:
model = EmailVerification
- fields = ['email']
+ fields = ["email"]
def clean_email(self):
- email = self.cleaned_data.get('email')
+ email = self.cleaned_data.get("email")
if EmailVerification.objects.filter(email=email).exists():
raise forms.ValidationError("This email address is already in use.")
- return email \ No newline at end of file
+ return email