Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django-registration, template

Tags:

python

django

where can I find good templates for django-registration? I've found one, but the activation isn't work properly - when user click on activation link he gets:

Hello ! Check your e-mail to confirm registration. 7 days left.

Instead of ~"Activation succesfull/fail".

like image 532
Driego Avatar asked Dec 24 '09 19:12

Driego


People also ask

How do I register a Django template?

The convention in Django is to begin in your app folder, and then in that folder create a folder named templates. Then inside the templates folder, you want to create another folder that has the same name as the app itself.


2 Answers

Some templates can be found here: 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
like image 127
miku Avatar answered Oct 06 '22 01:10

miku


I found the templates here to be a good starting point:

https://github.com/yourcelf/django-registration-defaults

(Note that you need to a base.html for them to include)

like image 24
Dave Forgac Avatar answered Oct 06 '22 00:10

Dave Forgac