app/urls.py
changeset 66 8c86470746fc
parent 54 03e267d67478
child 79 58001ec7720c
equal deleted inserted replaced
65:d254d4577c30 66:8c86470746fc
    20 from django.conf.urls.defaults import *
    20 from django.conf.urls.defaults import *
    21 
    21 
    22 
    22 
    23 urlpatterns = patterns(
    23 urlpatterns = patterns(
    24     '',
    24     '',
    25     (r'^person/profile/$', 'soc.views.person.profile',
    25     (r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    26      {'template': 'proto/person/profile.html'}),
    26      'soc.views.person.profile.edit',
       
    27      {'template': 'ghop/person/profile/edit.html'}),
       
    28     (r'^org/profile/(?P<program>[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
       
    29      'soc.views.person.profile.edit'),
    27 )
    30 )