app/django/conf/urls/shortcut.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 23 Jul 2009 14:43:20 +0200
changeset 2667 260aaea36e49
parent 54 03e267d67478
permissions -rw-r--r--
Use role_name to register the Role with the Group View.

from django.conf.urls.defaults import *

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