[Django]-ConnectionRefusedError in dJango rest api while registration process

1👍

You perform a call to a remote server that you can’t reach / isn’t configured / isn’t running.

It’s not an issue with Django or DRF.

9👍

I was getting the same error and it may be due to email verification. I add following code in my setting.py file and now authentication working perfectly


ACCOUNT_EMAIL_VERIFICATION = 'none'

ACCOUNT_AUTHENTICATION_METHOD = 'username'

ACCOUNT_EMAIL_REQUIRED = False

Leave a comment