app/urls.py
changeset 141 e120c24b89e2
parent 132 15d89c284106
child 170 1fadf6e0348d
equal deleted inserted replaced
140:c3d098d6fafa 141:e120c24b89e2
    22 
    22 
    23 
    23 
    24 urlpatterns = patterns(
    24 urlpatterns = patterns(
    25     '',
    25     '',
    26     (r'^$', 'soc.views.site.home.public'),
    26     (r'^$', 'soc.views.site.home.public'),
       
    27     (r'^site/home$', 'soc.views.site.home.public'),
       
    28     (r'^site/home/edit$', 'soc.views.site.home.edit'),
    27 
    29 
    28     # TODO(tlarsen): uncomment these when the view functions are committed
    30     # TODO(tlarsen): uncomment these when the view functions are committed
    29     # attempt to send User to their dashboard
    31     # attempt to send User to their dashboard
    30     # (will display soc.views.user.roles.public() if "linkname" is not
    32     # (will display soc.views.user.roles.public() if "linkname" is not
    31     # current logged-in User)    
    33     # current logged-in User)    
    33     #  'soc.views.user.roles.dashboard'),
    35     #  'soc.views.user.roles.dashboard'),
    34     # (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
    36     # (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
    35     #  'soc.views.user.roles.dashboard'),
    37     #  'soc.views.user.roles.dashboard'),
    36 
    38 
    37     (r'^site/user/lookup$', 'soc.views.site.user.profile.lookup'),
    39     (r'^site/user/lookup$', 'soc.views.site.user.profile.lookup'),
    38 
    40     (r'^site/user/profile/(?P<linkname>[_0-9a-z]+)$',
       
    41      'soc.views.site.user.profile.edit'),
       
    42      
    39     # TODO(tlarsen): uncomment these when the view functions are committed
    43     # TODO(tlarsen): uncomment these when the view functions are committed
    40     # (r'^site/user/profile$', 'soc.views.site.user.profile.create'),
    44     # (r'^site/user/profile$', 'soc.views.site.user.profile.create'),
    41     # (r'^site/user/profile/(?P<linkname>[_0-9a-z]+)$',
    45     # (r'^site/user/profile/(?P<linkname>[_0-9a-z]+)$',
    42     #  'soc.views.site.user.profile.edit'),
    46     #  'soc.views.site.user.profile.edit'),
    43 
    47