app/django/conf/urls/shortcut.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 01 Oct 2008 21:58:31 +0000
changeset 255 663edd9f7e66
parent 54 03e267d67478
permissions -rw-r--r--
Add colon at the of _readonly_field_as_table_row template tag label parameter. Replace hardcoded labels in User Public profile template with linkname_user.fields.<field_name>.label values.

from django.conf.urls.defaults import *

urlpatterns = patterns('django.views',
    (r'^(?P<content_type_id>\d+)/(?P<object_id>.*)/$', 'defaults.shortcut'),
)