app/django/conf/urls/shortcut.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 09 Mar 2009 00:00:41 +0000
changeset 1762 c47b9deb22ac
parent 54 03e267d67478
permissions -rw-r--r--
Use getFromKeyFieldsOr404 in slots() and allocateSlots() Handling of the exception is done by the view decorator. 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'),
)