I followed this post. How to disable email activation in django registration application? and made changes to my django registration code. Therefore, even if the user logs in as soon as I click the "Send" button, he still gives me a page with a socket error message. This means that he is still trying to send mail, although I set it to false. How to get rid of this?
I assume this is in development? Instead of disabling email, you can try setting the email backend to dummy or file in your own settings.pyduring debugging.
settings.py
if DEBUG: EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'