hehe, thanks!
you know i did not have 'password_change' view, this is import from
standard model of django_registeration.
i found how resolved it now, just change the template name to
pw_change_form.html, maybe password_change_form.html is the same as
admin site.
though my problem is ok now, i
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
>
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
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:
> >
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,
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/
>
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
7 matches
Mail list logo