问题描述
|
解决方法
如果您使用的是django-registration,则必须自己创建注册模板。默认情况下,应将它们设置为/ accounts /的url路径内。
下面的链接提供了完整的设置说明,以及下载一些样板模板的链接。
http://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/
,您是否在settings.py中定义了模板路径
TEMPLATE_DIRS = (
os.path.join(os.path.dirname(__file__),\'template\').replace(\'\\\\\',\'/\'),)