diff options
| author | Johan Lundberg <lundberg@nordu.net> | 2011-05-10 12:30:48 +0200 |
|---|---|---|
| committer | Johan Lundberg <lundberg@nordu.net> | 2011-05-10 12:30:48 +0200 |
| commit | 32bd504179912f9b38a4532749930f501ad4a093 (patch) | |
| tree | c8a68eae4eb852e0196536707afb0804768177d9 /urls.py | |
| parent | 01405d73d6839ae7e267482d483aecc628a67afd (diff) | |
Now uses two functions in views instead of passing a function in urls.
Diffstat (limited to 'urls.py')
| -rw-r--r-- | urls.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,9 +1,8 @@ # This also imports the include function from django.conf.urls.defaults import * -from nordunet_change_password import * urlpatterns = patterns('apps.changepw.views', url(r'^/$', 'index', name='index'), - url(r'^/changepw$', change_password(request, change_nordunet_sso_pw), name='changepw'), - url(r'^/changeppp$', reset_password(request, reset_nordunet_ppp_pw), name='resetpw'), + url(r'^/changepw$', 'change_password', name='changepw'), + url(r'^/changeppp$', 'reset_password', name='resetpw'), ) |
