Serotonin Storm

source>basic>profiles>urls.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
from django.conf.urls.defaults import *

urlpatterns = patterns('',
    url(r'^edit/$',
        view    = 'basic.profiles.views.profile_edit',
        name    = 'profile_edit',
    ),
    url(r'^(?P<username>[-\w]+)/$',
        view    = 'basic.profiles.views.profile_detail',
        name    = 'profile_detail',
    ),
    url (r'^$',
        view    = 'basic.profiles.views.profile_list',
        name    = 'profile_list',
    ),
)