hi.
I am trying to override the password change templates which are
currently calling the admin templates and use the ones which come with
satchmo so I can customize them.
In the urls.py file of satchmo/satchmo_store/accounts, you can see
where the views are being called and which template is being used as
shown here:
urlpatterns += patterns('django.contrib.auth.views',
(r'^password_reset/$', 'password_reset', password_reset_dict,
'auth_password_reset'),
(r'^password_reset/done/$', 'password_reset_done',
{'template_name':'registration/password_reset_done.html'},
'auth_password_reset_done'),
(r'^password_change/$', 'password_change',
{'template_name':'registration/password_change_form.html'},
'auth_password_change'),
(r'^password_change/done/$', 'password_change_done',
{'template_name':'registration/password_change_done.html'},
'auth_change_done'),
(r'^reset/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
'password_reset_confirm'),
(r'^reset/done/$', 'password_reset_complete'),
The question is, what would I put in there to load the satchmo
templates rather than the admin templates?
the current path to my templates is:
/home/cigarcastle/webapps/django_apps/live/satchmo/satchmo_store/
contact/templates/registration
how do i redirect to these templates for the password change and reset
functions?
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=.