fix typho response -> Response
This commit is contained in:
parent
f6b723b76a
commit
e1b4aac222
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ class UserCreateAPI(APIView):
|
||||||
try:
|
try:
|
||||||
mail.send()
|
mail.send()
|
||||||
except Exception as e:
|
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\
|
return Response('An email with activation link has been sent in order to complete your registration.\n\
|
||||||
\nPlease check your inbox.', 200)
|
\nPlease check your inbox.', 200)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue