I’m using django-registration. I have included it into my project.
When I try to register a new user, I always have an error message.
I am using the development server (runserver).
I want to register the user and to send the activation e-mail.
This is the error :
[Errno 10061] No connection could be made because the target machine actively refused it
location : C:\Python27\lib\socket.py in create_connection, line 571
I think I have to do something on my settings.
Thank you
Is this a production environment or is it only a development?
If it is a development environment, you can use a file-based email backend: https://docs.djangoproject.com/en/dev/topics/email/#file-backend . If you use this backend your emails will be written to file. You will be able to read them with text editor.
If it is a production environment then you have to setup your SMTP server settings properly.