Django-registration,模板

17
我在哪里可以找到适用于django-registration的好模板?我找到了一个,但激活功能无法正常工作 - 当用户单击激活链接时,他会收到以下信息:

你好! 检查你的电子邮件以确认注册。剩余7天。

而不是“激活成功/失败”。
4个回答

18

这里可以找到一些模板: http://devdoodles.wordpress.com/2009/02/16/user-authentication-with-django-registration/

$ tree
.
|-- [            981]  base.html
|-- [             89]  index.html
`-- [            544]  registration
    |-- [            287]  activate.html
    |-- [            221]  activation_email.txt
    |-- [             67]  activation_email_subject.txt
    |-- [            459]  login.html
    |-- [            110]  logout.html
    |-- [            116]  password_change_done.html
    |-- [            192]  password_change_form.html
    |-- [            193]  password_reset_complete.html
    |-- [            283]  password_reset_confirm.html
    |-- [            153]  password_reset_done.html
    |-- [            215]  password_reset_email.html
    |-- [            192]  password_reset_form.html
    |-- [            146]  registration_complete.html
    `-- [            192]  registration_form.html

14

2
提供了一些带有说明的Django注册模板。请参考这里

1

请确保您正在使用最新版本的Django-registration-redux。当前版本为1.4。同时,请转到this链接并手动下载django-registration应用程序。下载完成后,只需将模板从templates/registration拖放到您的templates/registration中即可。在完成这些步骤后,请再次检查并发布情况。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接