thirdparty/google_appengine/lib/django/examples/hello/urls.py
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 16 Nov 2008 22:11:58 +0000
changeset 492 4abdeedfc08e
parent 109 620f9b141567
permissions -rwxr-xr-x
Fixed redirection after creation to Just Work Accomplished by generating a link to the creation page instead of trying to deduct it from the current path.

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