From 1c7bea1c752b7cb9b258230d16006a17b2ed1f8d Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Tue, 1 Feb 2011 14:32:11 +0100 Subject: Added url names and use url reverse. --- urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index eb64d93..bfdb5ce 100644 --- a/urls.py +++ b/urls.py @@ -1,6 +1,6 @@ # This also imports the include function from django.conf.urls.defaults import * -urlpatterns = patterns('changepw.views', - (r'^$', 'change_password'), +urlpatterns = patterns('apps.changepw.views', + url(r'^/$', 'change_password', name='changepw'), ) -- cgit v1.1