aboutsummaryrefslogtreecommitdiffstats
path: root/page/urls.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-04-24 00:50:44 +0800
committerWeitian LI <liweitianux@gmail.com>2014-04-24 00:50:44 +0800
commit92507b3dcd7671f6e61d9aade1b4e862a6b4ccb3 (patch)
tree0e99e2162712330b5f7d90318ee5f48da2693756 /page/urls.py
parentce26313905fa5d5c141cc7a871d37e1740765df1 (diff)
downloaddjango-skaschool-92507b3dcd7671f6e61d9aade1b4e862a6b4ccb3.tar.bz2
* added blank templates of needed pages
* added urls in pages.urls * updated links in navbar.html
Diffstat (limited to 'page/urls.py')
-rw-r--r--page/urls.py31
1 files changed, 30 insertions, 1 deletions
diff --git a/page/urls.py b/page/urls.py
index d8825e5..79ae696 100644
--- a/page/urls.py
+++ b/page/urls.py
@@ -11,7 +11,36 @@ urlpatterns = patterns('',
# index page
url(r'^$', RedirectView.as_view(url=reverse_lazy('index'))),
# introduction page
- url(r'^introduction/$', TemplateView.as_view(template_name='page/introduction.html'),
+ url(r'^introduction/$',
+ TemplateView.as_view(template_name='page/introduction.html'),
name='introduction'),
+ # program page
+ url(r'^program/$',
+ TemplateView.as_view(template_name='page/program.html'),
+ name='program'),
+ # committee page
+ url(r'^committee/$',
+ TemplateView.as_view(template_name='page/committee.html'),
+ name='committee'),
+ # sponsor page
+ url(r'^sponsor/$',
+ TemplateView.as_view(template_name='page/sponsor.html'),
+ name='sponsor'),
+ # traffic page
+ url(r'^traffic/$',
+ TemplateView.as_view(template_name='page/traffic.html'),
+ name='traffic'),
+ # accommodation page
+ url(r'^accommodation/$',
+ TemplateView.as_view(template_name='page/accommodation.html'),
+ name='accommodation'),
+ # contact page
+ url(r'^contact/$',
+ TemplateView.as_view(template_name='page/contact.html'),
+ name='contact'),
+ # about page
+ url(r'^about/$',
+ TemplateView.as_view(template_name='page/about.html'),
+ name='about'),
)