Standard django.contrib.admin.views.auth.user_change_password cannot be customized with user defined template.
What is inside *your* 'password_change' view? On 8 янв, 16:31, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > i found the view is the same as we click Change password in the admin > site, so maybe auth_password_change links to the default template > file, but why login.htm can be customered with the same url > stucture..... > > On 1月8日, 下午9时22分, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > > Show code of 'password_change' view > > > On 8 янв, 16:18, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > sorry, this is just the type error. > > > > it is still in strange after i changed to the correct url. > > > > On 1月8日, 下午9时13分, Alex Koshelev <[EMAIL PROTECTED]> wrote: > > > > > Your url conf says: > > > > r'^password_change/$', > > > > > but you tries to check: > > > > /password/change/ > > > > > Very strange, really? > > > > > On 8 янв, 15:53, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > > i have this in one urls.py: > > > > > url(r'^login/$', auth_views.login,{'template_name': 'registration/ > > > > > login.html'},name='auth_login'), > > > > > > (r'^password_change/$', 'password_change', > > > > > {'template_name':'registration/password_change_form.html'}, > > > > > 'auth_password_change'), > > > > > > this 2 url is the same structure. when i change the content of > > > > > login.html, it will reflect on the view of /login/ > > > > > but when i changed the content of password_change_form.html, there are > > > > > no change in web: /password/change/, even if i delete > > > > > password_change_form.html, it will still display the same content. > > > > > > haha, so strange even i check word one by one, i cannot figure out > > > > > what happened. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---