12345678910111213141516171819202122 |
- from django.conf.urls import patterns, include, url
- # Uncomment the next two lines to enable the admin:
- # from django.contrib import admin
- # admin.autodiscover()
- urlpatterns = patterns('',
- # Examples:
- # url(r'^$', 'hello.views.home', name='home'),
- # url(r'^hello/', include('hello.foo.urls')),
- # Uncomment the admin/doc line below to enable admin documentation:
- # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
- # Uncomment the next line to enable the admin:
- # url(r'^admin/', include(admin.site.urls)),
- url(r'^json$', 'world.views.json'),
- url(r'^db$', 'world.views.db'),
- url(r'^dbs$', 'world.views.dbs'),
- url(r'^fortunes$', 'world.views.fortunes'),
- url(r'^update$', 'world.views.update'),
- )
|