diff options
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'), ) |