This commit is contained in:
j 2013-08-26 17:52:45 +00:00
parent 22d10ec653
commit b43d704bc9

View file

@ -136,7 +136,7 @@ def signup(request):
elif User.objects.filter(email__iexact=data['email']).count() > 0: elif User.objects.filter(email__iexact=data['email']).count() > 0:
response = json_response({ response = json_response({
'errors': { 'errors': {
'email': 'Email address already exits' 'email': 'Email address already exists'
} }
}) })
elif not data['password']: elif not data['password']: