Python 如何使用django注册包?
我目前正在开发django注册软件包。我还配置了我的项目,如下所示 设置.pyPython 如何使用django注册包?,python,django,django-registration,Python,Django,Django Registration,我目前正在开发django注册软件包。我还配置了我的项目,如下所示 设置.py EMAIL_USE_TLS = True EMAIL_HOST = 'smtp.yahoo.com' EMAIL_HOST_USER = 'myname@yahoo.com' EMAIL_HOST_PASSWORD = 'mypassword' EMAIL_PORT = 587 ACCOUNT_ACTIVATION_DAYS = 7 INSTALLED_APPS = ( 'django.contrib.au
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.yahoo.com'
EMAIL_HOST_USER = 'myname@yahoo.com'
EMAIL_HOST_PASSWORD = 'mypassword'
EMAIL_PORT = 587
ACCOUNT_ACTIVATION_DAYS = 7
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'registration',
)
url(r'^accounts/', include('registration.backends.default.urls')),
url.py
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.yahoo.com'
EMAIL_HOST_USER = 'myname@yahoo.com'
EMAIL_HOST_PASSWORD = 'mypassword'
EMAIL_PORT = 587
ACCOUNT_ACTIVATION_DAYS = 7
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'registration',
)
url(r'^accounts/', include('registration.backends.default.urls')),
单击“注册”按钮时,我的web浏览器正在加载。但服务器端没有响应,我的详细信息也存储在数据库中。请解决我的问题。谢谢。听起来在发送注册电子邮件时可能会挂起。根据雅虎的邮件帮助,你的服务器设置不正确 发送服务器:smtp.mail.yahoo.com