summaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-05-10 12:30:48 +0200
committerJohan Lundberg <lundberg@nordu.net>2011-05-10 12:30:48 +0200
commit32bd504179912f9b38a4532749930f501ad4a093 (patch)
treec8a68eae4eb852e0196536707afb0804768177d9 /urls.py
parent01405d73d6839ae7e267482d483aecc628a67afd (diff)
Now uses two functions in views instead of passing a function in urls.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/urls.py b/urls.py
index dc4f644..4b28dcb 100644
--- a/urls.py
+++ b/urls.py
@@ -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'),
)