app/urls.py
changeset 86 fd34dd071e5e
parent 84 1b31d238ba39
child 132 15d89c284106
equal deleted inserted replaced
85:426b4ca2a72a 86:fd34dd071e5e
    29     # (will display soc.views.user.roles.public() if "linkname" is not
    29     # (will display soc.views.user.roles.public() if "linkname" is not
    30     # current logged-in User)    
    30     # current logged-in User)    
    31     (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
    31     (r'^user/roles/(?P<linkname>[_0-9a-z]+)$',
    32      'soc.views.user.roles.dashboard'),
    32      'soc.views.user.roles.dashboard'),
    33 
    33 
    34     (r'^user/profile$','soc.views.user.profile'),
    34     (r'^user/profile$', 'soc.views.user.profile.edit'),
    35     (r'^user/profile/(?P<linkname>[_0-9a-z]+)$','soc.views.user.profile'),
    35     (r'^user/profile/(?P<linkname>[_0-9a-z]+)$',
       
    36      'soc.views.user.profile.edit'),
    36 
    37 
    37     (r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    38     (r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    38      'soc.views.person.profile.edit',
    39      'soc.views.person.profile.edit',
    39      {'template': 'ghop/person/profile/edit.html'}),
    40      {'template': 'ghop/person/profile/edit.html'}),
    40     (r'^org/profile/(?P<program>[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    41     (r'^org/profile/(?P<program>[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',