From 8262dc3c1332adcea186d7afc5ec3c7de2eb791d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Nov=C3=BD?= <github-lnovy@krtek.net> Date: Mon, 6 Jul 2015 00:54:56 +0000 Subject: [PATCH] Restore the settings, hopefully fixing the tests --- settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.py b/settings.py index 335948d..3a4feee 100644 --- a/settings.py +++ b/settings.py @@ -76,7 +76,7 @@ MEDIA_URL = '' STATIC_URL = '/media/' # Make this unique, and don't share it with anybody. -SECRET_KEY = get_from_env('SECRET_KEY', 'replacemesadfasdfasdf') +SECRET_KEY = get_from_env('SECRET_KEY', 'replaceme') # Secure Stuff if (get_from_env('SSL', '0') == '1'): @@ -160,7 +160,7 @@ LOGOUT_ON_CONFIRMATION = True # The two hosts are here so the main site can be over plain HTTP # while the voting URLs are served over SSL. -URL_HOST = get_from_env("URL_HOST", "http://helios-server-lnovy.c9.io").rstrip("/") +URL_HOST = get_from_env("URL_HOST", "http://localhost:8000").rstrip("/") # IMPORTANT: you should not change this setting once you've created # elections, as your elections' cast_url will then be incorrect. -- GitLab