summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index e4d2f1d..8d38e88 100644
--- a/urls.py
+++ b/urls.py
@@ -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'),
)