app/django/conf/urls/shortcut.py
author Sverre Rabbelier <srabbelier@gmail.com>
Wed, 04 Mar 2009 23:10:38 +0000
changeset 1670 4d9bd851a5f5
parent 54 03e267d67478
permissions -rw-r--r--
Fixed a bug discovered by excepting the proper exception Patch by: Sverre Rabbelier

from django.conf.urls.defaults import *

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