thirdparty/google_appengine/lib/django/examples/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 07 Dec 2008 19:02:41 +0000
changeset 710 edb5dbb1dea7
parent 109 620f9b141567
permissions -rwxr-xr-x
Add explicit access_types from the url This does two things, it reduces the amount of repeated data (e.g., the checkAccess used to repeat the access_type that was already specified in the url). At the same time, it allows for example the 'create' page to push its access_type to 'edit'. Patch by: Sverre Rabbelier

from django.conf.urls.defaults import *

urlpatterns = patterns('',
    (r'^$', 'examples.views.index'),
    (r'^hello/', include('examples.hello.urls')),
)