New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errno 10061] No connection could be made because the target machine actively refused it #8
Comments
Yes but the easier way is to put this into your local settings:
Then all emails will be printed in your console. If you really want to test your emails, it gets more complicated, an easy way would be to put this into your local settings:
Note that you need to install EDIT: The above assumes that you use django-mailer for dispatching your emails (if you don't, you should consider using it, it is awesome) |
ehy ty for your answer it worked and now i can see the activation code on the console, now im having 2 differents error, i have the deprecationgwarning, the md5 module is deprecated, use hashlib instead, i have seen somebody feedbacks it to you, how did he solve it? TypeError at /accounts/activate/cddfd602398ed8f7801ad46d1634c45d45250c41/ can't compare offset-naive and offset-aware datetimes Request Method: GET can't compare offset-naive and offset-aware datetimes Exception Location: C:\Users\ujake\impromusic\impromusic\impromusic\apps\registration\models.py in activation_key_expired, line 201 ['C:\Users\ujake\impromusic\impromusic', Server time: Tue, 26 Mar 2013 13:03:58 +0100
Ty so much |
Hi uyak,
Just remove it or add e.g. Second issue:
Maybe it's sufficient to set the
Hope this helps. |
this could also be an issue with django-registration. i get he has USE_TZ
|
Hy Tyrdalla, ty for your help, i didnt have PASSWORD_HASHERS on settings, i did what you said me and add it on settings.py of my project. Now the error on the shield is C:/Python27/lib/site-pakages/django/utils/hashcompat.py:9:a DeprecationWarning:Django.utils.hashcompat is deprecated; use hashlib instead and now if i change the password_hashers i continue having the same new error. I had USE_TZ = True Mbrochh i will be waiting ty. |
that's just a deprecation warning, not an error, you can ignore that. I'll
|
@uyak I have released version 0.5.1 - the deprecation warning should be gone now. Are you still having the timezone error? |
hi i have this working on local machine when im on accounts/register and try create a new user i get this error
^***************************+
error at /accounts/register/
[Errno 10061] No connection could be made because the target machine actively refused it
Request Method: POST
Request URL: http://127.0.0.1:8000/accounts/register/
Django Version: 1.5
Exception Type: error
Exception Value:
[Errno 10061] No connection could be made because the target machine actively refused it
Exception Location: C:\Python27\lib\socket.py in create_connection, line 571
Python Executable: C:\Python27\python.exe
Python Version: 2.7.3
Python Path:
['C:\Users\ujake\impromusic\impromusic',
'C:\Python27\lib\site-packages\distribute-0.6.35-py2.7.egg',
'C:\Python27\lib\site-packages\django_audiotracks-0.2.1-py2.7.egg',
'C:\Python27\lib\site-packages\mutagen-1.20-py2.7.egg',
'C:\Python27\lib\site-packages\django_registration_email-0.5-py2.7.egg',
'C:\Windows\system32\python27.zip',
'C:\Python27\DLLs',
'C:\Python27\lib',
'C:\Python27\lib\plat-win',
'C:\Python27\lib\lib-tk',
'C:\Python27',
'C:\Python27\lib\site-packages',
'C:\Python27\lib\site-packages\PIL',
'C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg-info']
Server time: Tue, 26 Mar 2013 03:55:14 +0100
Traceback Switch to copy-and-paste view
Do i have to configure the email server on settings.py for use your app?
The text was updated successfully, but these errors were encountered: