thirdparty/google_appengine/lib/django/examples/hello/urls.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Thu, 04 Jun 2009 23:21:33 +0200
changeset 2393 7fe19ebfe0d3
parent 109 620f9b141567
permissions -rwxr-xr-x
Display caught errors on the page itself Similar to the previous commit, show directly rather than redirect.

from django.conf.urls.defaults import *

urlpatterns = patterns('examples.hello.views',
    (r'^html/$', 'hello_html'),
    (r'^text/$', 'hello_text'),
    (r'^write/$', 'hello_write'),
    (r'^metadata/$', 'metadata'),
    (r'^getdata/$', 'get_data'),
    (r'^postdata/$', 'post_data'),
)