Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.74 kB
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^static/(?P<path>.*)$',
'django.views.static.serve',
{'document_root': 'static'}),
(r'^$',
'django.views.generic.simple.direct_to_template',
{'template' : 'home.html'}),
(r'^about$',
'django.views.generic.simple.direct_to_template',
{'template' : 'about.html'}),
(r'^contact$',
'django.views.generic.simple.direct_to_template',
{'template' : 'contact.html'}),
)
Jump to Line
Something went wrong with that request. Please try again.