2009-12-24 124 views
17

哪里可以找到django注册的好模板?我找到了一个,但激活不正常 - 当用户点击激活链接时,他得到:Django注册,模板

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

而不是〜“激活成功/失败”。

回答

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 
1

确保您使用的是最新版本的Django-registration-redux。当前版本是1.4。也请访问this链接并手动下载django-registration应用程序。下载完成后,将模板/注册模板拖放到您的模板/注册中。在这些步骤之后再次检查帖子。