app/urls.py
changeset 79 58001ec7720c
parent 66 8c86470746fc
child 83 3f4f7c540b75
equal deleted inserted replaced
78:206e6eeed6c4 79:58001ec7720c
    12 # See the License for the specific language governing permissions and
    12 # See the License for the specific language governing permissions and
    13 # limitations under the License.
    13 # limitations under the License.
    14 
    14 
    15 __authors__ = [
    15 __authors__ = [
    16   '"Augie Fackler" <durin42@gmail.com>',
    16   '"Augie Fackler" <durin42@gmail.com>',
       
    17   '"Pawel Solyga" <pawel.solyga@gmail.com>',
    17   ]
    18   ]
    18 
    19 
    19 
    20 
    20 from django.conf.urls.defaults import *
    21 from django.conf.urls.defaults import *
    21 
    22 
    22 
    23 
    23 urlpatterns = patterns(
    24 urlpatterns = patterns(
    24     '',
    25     '',
       
    26     (r'^$', 'soc.views.site.home.public'),
    25     (r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    27     (r'^org/profile/(?P<program>ghop[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    26      'soc.views.person.profile.edit',
    28      'soc.views.person.profile.edit',
    27      {'template': 'ghop/person/profile/edit.html'}),
    29      {'template': 'ghop/person/profile/edit.html'}),
    28     (r'^org/profile/(?P<program>[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    30     (r'^org/profile/(?P<program>[_0-9a-z]+)/(?P<linkname>[_0-9a-z]+)/$',
    29      'soc.views.person.profile.edit'),
    31      'soc.views.person.profile.edit'),