aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-06-03 11:28:12 +0800
committerWeitian LI <liweitianux@gmail.com>2014-06-03 11:28:12 +0800
commitdbdec551f234c6dfdb992184b715e9af8462433c (patch)
treead9aef4f55bf143cc549e2e347c000df96e75462 /django_skaschool
parent2288c7f4dca08aa4519b80ace852be8c0526d992 (diff)
downloaddjango-skaschool-dbdec551f234c6dfdb992184b715e9af8462433c.tar.bz2
Show latest import notice at index page.
* added 'page.views.IndexView' for 'django_skaschool.urls * updated 'index.html' to display notice at bottom * added '.smallcaps' in 'index.css' for English title
Diffstat (limited to 'django_skaschool')
-rw-r--r--django_skaschool/urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/django_skaschool/urls.py b/django_skaschool/urls.py
index 7830463..60a298a 100644
--- a/django_skaschool/urls.py
+++ b/django_skaschool/urls.py
@@ -10,13 +10,14 @@ from django.conf.urls.static import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.views.generic.base import TemplateView
+from page.views import IndexView
+
urlpatterns = patterns('',
# admin
url(r'^admin/', include(admin.site.urls)),
# index page
- url(r'^$', TemplateView.as_view(template_name='index.html'),
- name='index'),
+ url(r'^$', IndexView.as_view(), name='index'),
# app 'page'
url(r'^page/', include('page.urls')),
# app 'notice'