1 from django
.conf
.urls
.defaults
import *
3 from django
.contrib
import admin
6 urlpatterns
= patterns('',
7 (r
'^listing/', include('listing.urls')),
8 (r
'^admin/doc/', include('django.contrib.admindocs.urls')),
9 (r
'^admin/', include(admin
.site
.urls
)),
10 (r
'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'static/'}),
11 (r
'^$', 'views.index_page'),