app/django/conf/urls/shortcut.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Sun, 10 May 2009 02:29:07 +0200
changeset 2305 eb4d331d41aa
parent 54 03e267d67478
permissions -rw-r--r--
Add .git to the .hgignore file

from django.conf.urls.defaults import *

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