diff options
author | Johan Lundberg <lundberg@nordu.net> | 2011-08-03 13:41:11 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2011-08-03 13:41:11 +0200 |
commit | d6bf5e609ce1f2a8efeb762bd073b0c0839f158c (patch) | |
tree | ac571a27563c372d9791b83ef027af95ebcc4369 /urls.py | |
parent | 3c6aa487eb14970e0b1f59859bb43d67e2aad65e (diff) |
change_password and reset_password now takes a password type (pwtype) instead of a request.
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,8 +3,8 @@ from django.conf.urls.defaults import * urlpatterns = patterns('apps.changepw.views', url(r'^/$', 'index', name='index'), - url(r'^/changepw$', 'change_password', name='changepw'), - url(r'^/resetpw$', 'reset_password', name='resetpw'), + url(r'^/changepw/(?P<pwtype>[-\w]+)$', 'change_password', name='changepw'), + url(r'^/resetpw/(?P<pwtype>[-\w]+)$', 'reset_password', name='resetpw'), url(r'^/changeother$', 'change_other', name='changeother'), url(r'^/changeother/[-\w]+$', 'change_other'), ) |