thirdparty/google_appengine/lib/django/examples/urls.py
author Todd Larsen <tlarsen@google.com>
Wed, 21 Jan 2009 02:14:05 +0000
changeset 860 cfb57fe35d3c
parent 109 620f9b141567
permissions -rwxr-xr-x
Add a clean_agrees_to_tos() validator that requires "Yes" if ToS exists. Also, more user_logic.logic => user_logic fixes. If you are going to import "as", you might as well make the renaming worthwhile. Maybe we need to add a section on "import ... from ... as ..." in the style guide? 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')),
)