thirdparty/google_appengine/lib/django/examples/hello/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sat, 13 Dec 2008 13:27:40 +0000
changeset 735 28225172af06
parent 109 620f9b141567
permissions -rwxr-xr-x
Make it possible to redirect anywhere after editPost This makes it possible to not include the suffix in the redirect by making it a named parameter. Patch by: Sverre Rabbelier

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'),
)