2
0

urls.py 290 B

12345678910
  1. from django.conf.urls.defaults import *
  2. urlpatterns = patterns('examples.hello.views',
  3. (r'^html/$', 'hello_html'),
  4. (r'^text/$', 'hello_text'),
  5. (r'^write/$', 'hello_write'),
  6. (r'^metadata/$', 'metadata'),
  7. (r'^getdata/$', 'get_data'),
  8. (r'^postdata/$', 'post_data'),
  9. )