aboutsummaryrefslogtreecommitdiffstats
path: root/django_skaschool/settings.py
diff options
context:
space:
mode:
authorWeitian LI <liweitianux@gmail.com>2014-05-04 14:21:59 +0800
committerWeitian LI <liweitianux@gmail.com>2014-05-04 14:21:59 +0800
commit1dff1d0b4bae3827223314d19fc2009dbc2c5706 (patch)
tree8b50fae47ebe77772fae73299af93bea6c780f97 /django_skaschool/settings.py
parent702cd2099186cafcf0f1a4ffcda099cef3c9e178 (diff)
downloaddjango-skaschool-1dff1d0b4bae3827223314d19fc2009dbc2c5706.tar.bz2
* added 'bootstrap-3.1.1' to static
* updated 'settings' to serve bootstrap from local ('respond.js' required local css, otherwise extra configuration requires.)
Diffstat (limited to 'django_skaschool/settings.py')
-rw-r--r--django_skaschool/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py
index 9b4c779..9d6cb66 100644
--- a/django_skaschool/settings.py
+++ b/django_skaschool/settings.py
@@ -153,9 +153,12 @@ from settings_email import *
#################################################
## bootstrap3
+# Serve bootstrap3 from local.
+# Otherwise 'respond.js' requires extra configuration with css on CDN.
BOOTSTRAP3 = {
'jquery_url': '//code.jquery.com/jquery-1.11.0.min.js',
- 'base_url': '//netdna.bootstrapcdn.com/bootstrap/3.1.1/',
+ #'base_url': '//netdna.bootstrapcdn.com/bootstrap/3.1.1/',
+ 'base_url': '/static/third-party/bootstrap/3.1.1/',
'css_url': None,
'theme_url': None,
'javascript_url': None,