Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (22 sloc) 0.577 kB
afcec13 @archatas first commit
archatas authored
1 # -*- coding: UTF-8 -*-
2 from django.conf.urls.defaults import *
3 from django.conf import settings
4 from django.contrib import admin
5
6 admin.autodiscover()
7
8 urlpatterns = patterns("",
9 (
10 r"^$",
11 "django.views.generic.simple.direct_to_template",
12 {'template': "index.html"},
13 ),
14 (
15 r"^climate-change/",
16 include("climate_change.urls"),
17 ),
18 (
19 r'^media/(?P<path>.*)$',
20 'django.views.static.serve',
21 {'document_root': settings.MEDIA_ROOT},
22 ),
23 (r"^admin/", include(admin.site.urls)),
24 )
Something went wrong with that request. Please try again.