Browse Source

better response messsage

william
wcolmenares 3 years ago
parent
commit
8a8cc5d20e
  1. 3
      dal/views.py

3
dal/views.py

@ -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):

Loading…
Cancel
Save