AW: change password
Never mind...figured it out ;-)
. . . . . . . . . . . . . . . . . . . . . . . . . .
Patrick Szabo
XSLT-Entwickler
LexisNexis
Marxergasse 25, 1030 Wien
mailto:patrick.szabo@lexisnexis.at
Tel.: +43 (1) 534 52 - 1573
Fax: +43 (1) 534 52 - 146
-----Ursprüngliche Nachricht-----
Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von Szabo, Patrick (LNG-VIE)
Gesendet: Montag, 14. Februar 2011 11:31
An: django-users@googlegroups.com
Betreff: change password
Hi,
I know i ask a lot of questions but I have to relaize this project in
almost no time and i just startet using django.
I want to give users the possibility to change their passwords.
I have to use my own template but i cant figure out how to do that.
For testing i just copied the change_password.html from the admin
template and put it into my folders.
If I click on my link I'm redirected to the change_password.html but on
that site there are no fields visible.
I guess I had to change a lot of paths in the file but I've already
tried that.
Is there a custom template for changing passwords like the on for log-in
in the documentaion ?!
In the urls.py i just did the same as for login and logout:
(r'^main/change_password/$',
'django.contrib.auth.views.password_change', {'template_name':
'accounts/login/change_password.html', 'post_change_redirect' :
'/main'}),
Kind regards
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home