Pass local_server into page_params.

(imported from commit 50dcee54644e0ee2ad8b13ec12e7134a9ab58d86)
This commit is contained in:
Waseem Daher 2013-10-25 17:37:42 -04:00
parent 66f48288b4
commit d44c0d5f5d
1 changed files with 1 additions and 0 deletions

View File

@ -648,6 +648,7 @@ def home(request):
# Pass parameters to the client-side JavaScript code.
# These end up in a global JavaScript Object named 'page_params'.
page_params = simplejson.encoder.JSONEncoderForHTML().encode(dict(
local_server = settings.LOCAL_SERVER,
debug_mode = settings.DEBUG,
test_suite = settings.TEST_SUITE,
poll_timeout = settings.POLL_TIMEOUT,