app/django/conf/urls/shortcut.py
author Sverre Rabbelier <srabbelier@gmail.com>
Thu, 26 Feb 2009 16:59:24 +0000
changeset 1528 abbdf42ab322
parent 54 03e267d67478
permissions -rw-r--r--
Allow to do 'checkHasActiveRole' checks for document access This is used for documents in the site prefix. 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'),
)