app/django/conf/urls/shortcut.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 13 Nov 2008 16:40:05 +0000
changeset 477 8a8b1bd035c4
parent 54 03e267d67478
permissions -rw-r--r--
Moved from docs -> document

from django.conf.urls.defaults import *

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