app/django/conf/urls/shortcut.py
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 28 Nov 2008 22:49:03 +0000
changeset 602 1caee6675fa7
parent 54 03e267d67478
permissions -rw-r--r--
Added a DynaForm module This allows GAE forms to be defined 'semi' dymamically, rather than by having to explicitly create the new class. 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'),
)