diff --git a/dal/views.py b/dal/views.py index d1e563a..bf33dbd 100644 --- a/dal/views.py +++ b/dal/views.py @@ -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)