【发布时间】:2014-09-08 00:00:58
【问题描述】:
我正在尝试从头开始一个基于 django-oscar 的项目并遇到问题
ImproperlyConfigured at /
Module "oscar.apps.customer.auth_backends" does not define a "EmailBackend" attribute/class
我的settings.py
AUTHENTICATION_BACKENDS = (
'oscar.apps.customer.auth_backends.EmailBackend',
'django.contrib.auth.backends.ModelBackend',
)
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
【问题讨论】:
-
是
oscar.apps.customer.auth_backends.Emailbackend。 -
出于某种原因,我以为我安装了 0.8 版。现在我意识到我的愚蠢机器做了 0.7 版!感谢您的“b”提示!
标签: python django django-oscar