fix typho response -> Response

This commit is contained in:
wcolmenares 2019-05-30 05:07:06 -04:00
parent f6b723b76a
commit e1b4aac222

View file

@ -625,7 +625,7 @@ class UserCreateAPI(APIView):
try:
mail.send()
except Exception as e:
return response('Failed to send the email, please try again', 400)
return Response('Failed to send the email, please try again', 400)
return Response('An email with activation link has been sent in order to complete your registration.\n\
\nPlease check your inbox.', 200)