Hello.
I installed django-registration from
http://bitbucket.org/ubernostrum/django-registration/downloads.
Unfortunately after sending filled registration form I received 111
error- connection refused. I found somewhere that it may be because of
the wrong server configuration, so I set some values in the
settings.py file:
EMAIL_BACKEND='django.core.mail.backends.smtp.EmailBackend'
EMAIL_FILE_PATH = os.path.join(os.path.dirname(__file__),
'emaildata')
EMAIL_HOST='localhost'
EMAIL_HOST_PASSWORD=''
EMAIL_HOST_USER=''
EMAIL_PORT=25
DEFAULT_FROM_EMAIL = "anyem...@anydomain.com"
SERVER_EMAIL = "anyem...@anydomain.com"
EMAIL_SUBJECT_PREFIX='[Django] '
EMAIL_USE_TLS=False
SEND_BROKEN_LINK_EMAILS=True
Unfortunately it doesn't help. What should I change?
Thanks in advance
Tomek
More error info:
error at /accounts/register/
[Errno 111] Connection refused
Request Method: POST
Request URL:http://127.0.0.1:8000/accounts/register/
Django Version: 1.2.1
Exception Type: error
Exception Value:
[Errno 111] Connection refused
Exception Location: /usr/lib/python2.6/socket.py in
create_connection, line 514
Python Executable: /usr/bin/python
Python Version: 2.6.5
Python Path:['/home/tomek/Pulpit/djangoPage/mysite', '/usr/lib/
python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-
tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/
usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/
PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/
python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/
pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-
packages']
Server time:Thu, 2 Sep 2010 13:28:25 +0200
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.