@@ -19,6 +19,8 @@ class UserCreateForm(UserCreationForm):
...
@@ -19,6 +19,8 @@ class UserCreateForm(UserCreationForm):
ifcommit:
ifcommit:
user.save()
user.save()
returnuser
returnuser
#I THINK what this does is raise an exception if the email already exists so I took it out for now since it's kinda out of our scope and gets in the way of me testing
"""
"""
def clean_email(self):
def clean_email(self):
if User.objects.filter(email=self.cleaned_data['email']).exists():
if User.objects.filter(email=self.cleaned_data['email']).exists():