app/urls.py
changeset 132 15d89c284106
parent 86 fd34dd071e5e
child 141 e120c24b89e2
equal deleted inserted replaced
131:3db97cf7f2c7 132:15d89c284106
    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 
    27 
       
    28     # TODO(tlarsen): uncomment these when the view functions are committed
    28     # attempt to send User to their dashboard
    29     # attempt to send User to their dashboard
    29     # (will display soc.views.user.roles.public() if "linkname" is not
    30     # (will display soc.views.user.roles.public() if "linkname" is not
    30     # current logged-in User)    
    31     # current logged-in User)    
    31     (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
    32     # (r'^user/roles$',
    32      'soc.views.user.roles.dashboard'),
    33     #  'soc.views.user.roles.dashboard'),
       
    34     # (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
       
    35     #  'soc.views.user.roles.dashboard'),
       
    36 
       
    37     (r'^site/user/lookup$', 'soc.views.site.user.profile.lookup'),
       
    38 
       
    39     # TODO(tlarsen): uncomment these when the view functions are committed
       
    40     # (r'^site/user/profile$', 'soc.views.site.user.profile.create'),
       
    41     # (r'^site/user/profile/(?P<linkname>[_0-9a-z]+)$',
       
    42     #  'soc.views.site.user.profile.edit'),
    33 
    43 
    34     (r'^user/profile$', 'soc.views.user.profile.edit'),
    44     (r'^user/profile$', 'soc.views.user.profile.edit'),
    35     (r'^user/profile/(?P<linkname>[_0-9a-z]+)$',
    45     (r'^user/profile/(?P<linkname>[_0-9a-z]+)$',
    36      'soc.views.user.profile.edit'),
    46      'soc.views.user.profile.edit'),
    37 
    47