urls.py 759 B

12345678910111213141516171819202122
  1. from django.conf.urls import patterns, include, url
  2. # Uncomment the next two lines to enable the admin:
  3. # from django.contrib import admin
  4. # admin.autodiscover()
  5. urlpatterns = patterns('',
  6. # Examples:
  7. # url(r'^$', 'hello.views.home', name='home'),
  8. # url(r'^hello/', include('hello.foo.urls')),
  9. # Uncomment the admin/doc line below to enable admin documentation:
  10. # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
  11. # Uncomment the next line to enable the admin:
  12. # url(r'^admin/', include(admin.site.urls)),
  13. url(r'^json$', 'world.views.json'),
  14. url(r'^db$', 'world.views.db'),
  15. url(r'^dbs$', 'world.views.dbs'),
  16. url(r'^fortunes$', 'world.views.fortunes'),
  17. url(r'^update$', 'world.views.update'),
  18. )