app/django/conf/urls/shortcut.py
author Todd Larsen <tlarsen@google.com>
Wed, 01 Oct 2008 00:33:43 +0000
changeset 220 3ebe00b44212
parent 54 03e267d67478
permissions -rw-r--r--
Add partial_path property explicitly to the Work model.

from django.conf.urls.defaults import *

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