jquery back to local version for security reasons, only needed in common.py

pull/1/head
Andromeda Yelton 2012-02-06 15:02:57 -05:00
parent cfb6398fc6
commit 35d4fa4fd1
4 changed files with 4 additions and 12 deletions

View File

@ -211,5 +211,7 @@ djcelery.setup_loader()
# this suppresses functionality that should not be visible on the alpha site
# change to 0 if you want to see it on your local machine
IS_PREVIEW = True
JQUERY_HOME = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"
JQUERY_UI_HOME = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"
# set once instead of in all the templates
JQUERY_HOME = "/static/js/jquery-1.6.3.min.js"
JQUERY_UI_HOME = "/static/js/jquery-ui-1.8.16.custom.min.js"

View File

@ -9,12 +9,6 @@ IS_PREVIEW = False
# SITE_ID for your particular site -- must be configured in /core/fixtures/initial_data.json
SITE_ID = 3
# use the ones from google for greater speed
# but in me.py set to /static/js/jquery-1.6.3.min.js, /static/js/jquery-ui-1.8.16.custom.min.js
# if you want to allow offline development
JQUERY_HOME = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"
JQUERY_UI_HOME = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"
ADMINS = (
('Ed Summers', 'ehs@pobox.com'),
)

View File

@ -121,7 +121,5 @@ LOGGING = {
}
STATIC_ROOT = '/var/www/static'
JQUERY_HOME = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"
JQUERY_UI_HOME = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"
IS_PREVIEW = False

View File

@ -122,5 +122,3 @@ LOGGING = {
}
STATIC_ROOT = '/var/www/static'
JQUERY_HOME = "https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"
JQUERY_UI_HOME = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"