summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2011-05-10 13:06:38 +0200
committerJohan Lundberg <lundberg@nordu.net>2011-05-10 13:06:38 +0200
commit669310a433f686a6e0764c591d99d801e7147979 (patch)
tree0dd93e6f79fac2268052feb1823cdb960368c0de
parent0a14c9a30fc56b65d933592e3503ddfb566b7dea (diff)
Minor fix.
-rw-r--r--urls.py2
-rw-r--r--views.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 4b28dcb..525dc32 100644
--- a/urls.py
+++ b/urls.py
@@ -4,5 +4,5 @@ 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'^/changeppp$', 'reset_password', name='resetpw'),
+ url(r'^/resetpw$', 'reset_password', name='resetpw'),
)
diff --git a/views.py b/views.py
index c71f279..ffe7719 100644
--- a/views.py
+++ b/views.py
@@ -7,12 +7,14 @@ def _change_password(request, user, new_password):
'''
Use this to call your change password function.
'''
+ # Your code here
return 0
def _reset_password(request, user, new_password):
'''
Use this to call your reset password function.
'''
+ # Your code here
return 0
def _get_username(request):