aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/apps/profile/urls.py
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/apps/profile/urls.py')
-rw-r--r--97suifangqa/apps/profile/urls.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/97suifangqa/apps/profile/urls.py b/97suifangqa/apps/profile/urls.py
index cbc453d..e6c396d 100644
--- a/97suifangqa/apps/profile/urls.py
+++ b/97suifangqa/apps/profile/urls.py
@@ -1,9 +1,10 @@
+# -*- coding: utf-8 -*-
+
from django.conf.urls import patterns, url
-from .views import *
-urlpatterns = patterns('',
- url(r'^login/?$', login, name = "login"),
- url(r'^logout/?$', logout, name = "logout"),
- url(r'^signup/?$', signup, name = "signup"),
- )
+urlpatterns = patterns('profile.views',
+ url(r'^(?P<username>[a-zA-Z_][a-zA-Z0-9_]*)/$',
+ 'profile_view', name='profile_home'),
+)
+