diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-06-24 23:09:43 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-06-24 23:09:43 +0800 |
commit | 88c4fa2c87138d9f4707ad7193662953f9de725f (patch) | |
tree | 0185998a92184d0c5b76513d0c94774a06274432 /page | |
parent | af609a29bee3bc17800cf061c66b6eabcf18234f (diff) | |
download | django-skaschool-88c4fa2c87138d9f4707ad7193662953f9de725f.tar.bz2 |
Added schedule.html template for app 'schedule'.
* added 'schedule.views.ScheduleView'
* added 'schedule.html' template, with 'schedule.css' and 'schedule.js'
* added 'schedule.urls', updated django_skaschool.urls
* added tools/templatetags/dict_utils.py
* converted schedule models to south-based
* removed original 'page/templates/page/program.html', related urls
* updated navbar.html
Diffstat (limited to 'page')
-rw-r--r-- | page/templates/page/program.html | 20 | ||||
-rw-r--r-- | page/urls.py | 4 |
2 files changed, 0 insertions, 24 deletions
diff --git a/page/templates/page/program.html b/page/templates/page/program.html deleted file mode 100644 index c0b68d7..0000000 --- a/page/templates/page/program.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends 'base.html' %} -{% load staticfiles %} -{% load url from future %} -{% load bootstrap3 %} - -{# program template #} - -{% block pagetitle %}日程{% endblock %} - -{% block content %} - <div class="container"> - <h2>2014 SKA 暑期学校日程安排</h2> - <br> - <div class="alert alert-info"> - 日程安排尚未确定,请等待后续通知和更新…… - </div> - </div> -{% endblock %} - -{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/page/urls.py b/page/urls.py index 79ae696..0f72034 100644 --- a/page/urls.py +++ b/page/urls.py @@ -14,10 +14,6 @@ urlpatterns = patterns('', 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'), |