Thanx for the responses guys. This is what solved my problem. #url.py (r'^accounts/password/change/$', 'password_change', {}, 'password_change_form'), (r'^accounts/password/done/$', 'password_change_done', {}, password_change_done'),
...and added password_change_form.html and password_change_done.html to my ...templates/registration folder. Now after login I can got to accounts/password/change and change the users password. I still need to added the redirections, but I think this the hard part. On Jun 23, 5:40 pm, Yuri Piratello <yuri.pirate...@gmail.com> wrote: > I use in that project > > https://github.com/yuripiratello/nilo > > (r'^alterarSenha/$', 'nilo.views.alterarSenha'), > > My template: /templates/alterarSenha.html > > Att; > > Yuri Zanola Piratello > ===================== > blog:http://yuri-piratello.blogspot.com<http://yuripiratello.orgfree.com> > msn: yuri_zp...@hotmail.com > Skype: yuri_zpira > Gmail: yuri.pirate...@gmail.com > Twitter:http://twitter.com/yuri_zpira > GNU/Linux user number: 530410 > > On Thu, Jun 23, 2011 at 3:53 PM, Mark L. <marklockl...@gmail.com> wrote: > > Hey guys, I'm a newb to Django, but have some experience with Rails. > > Its fun to see the similarities and differences in both! > > > After looking through > >https://docs.djangoproject.com/en/dev/topics/auth/#module-django.cont... > > Under the section 'Other built-in views' I think password change is > > what I want. I did find this on stackoverflow... > > >http://stackoverflow.com/questions/388800/django-how-do-i-use-the-bui... > > > ...this focuses on password_reset, but I'm thinking it would apply > > also to password_change. > > > So in my urls.py I added these 2 lines... > > > (r'^/accounts/password/change/$', > > 'django.contrib.auth.views.password_change', > > {'post_change_redirect' : > > 'django.contrib.auth.views.password_reset_done'}), > > > ...and I also copied password_change_form.html and > > password_change_done.html to /templates/registration/ > > So after logging in to my system I'm simply trying to go to the / > > accounts/password/change/ url. Oh course I'm getting a 404. So I'm not > > sure how close I am, but I would appreciate any ideas. Thanx! > > > -- > > 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+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/django-users?hl=en. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.