app/django/conf/urls/shortcut.py
author Todd Larsen <tlarsen@google.com>
Fri, 21 Nov 2008 23:45:15 +0000
changeset 538 4d209757c835
parent 54 03e267d67478
permissions -rw-r--r--
Make it more obvious that a format string constant is a format string by appending _FMT. Patch by: Todd Larsen

from django.conf.urls.defaults import *

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