thirdparty/google_appengine/lib/django/examples/urls.py
author Todd Larsen <tlarsen@google.com>
Tue, 20 Jan 2009 20:04:21 +0000
changeset 844 b55c68d25b35
parent 109 620f9b141567
permissions -rwxr-xr-x
Make getToSLink() an actual method for re-use by others. Uses the views.helper.redirects module to create the /document/show path, instead of hard-coding it as a format string. Patch by: Todd Larsen Review by: to-be-reviewed

from django.conf.urls.defaults import *

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