better response messsage

This commit is contained in:
wcolmenares 2019-05-30 05:17:20 -04:00
parent e1b4aac222
commit 8a8cc5d20e

View file

@ -626,8 +626,7 @@ class UserCreateAPI(APIView):
mail.send()
except Exception as e:
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)
return Response('An email with activation link has been sent in order to complete your registration. Please check your inbox.', 200)
class SeedRetrieveCreate(APIView):