1
from django.conf.urls.defaults import *
4
# Uncomment the next two lines to enable the admin:
5
# from django.contrib import admin
8
urlpatterns = patterns('',
10
# (r'^padmaApi/', include('padmaApi.foo.urls')),
11
(r'jPadma/', 'lists.views.fetchJson'),
12
(r'list/', 'lists.views.listDetail'),
13
(r'^$', 'lists.views.index'),
14
# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
15
# to INSTALLED_APPS to enable admin documentation:
16
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),
18
# Uncomment the next line to enable the admin:
19
# (r'^admin/(.*)', admin.site.root),
22
if settings.LOCAL_DEVELOPMENT:
23
urlpatterns += patterns("django.views",
24
url(r"%s(?P<path>.*)/$" % settings.MEDIA_URL[1:], "static.serve", {
25
"document_root": settings.MEDIA_ROOT,