From 53678961ab9d94d711e4bfa9014868d412b63c41 Mon Sep 17 00:00:00 2001 From: Ben Adida <ben@adida.net> Date: Tue, 26 Oct 2010 21:50:12 -0700 Subject: [PATCH] important warning about secure_url_host, thanks betelgeuse. --- settings.py.sample | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settings.py.sample b/settings.py.sample index 0728901..7fe210b 100644 --- a/settings.py.sample +++ b/settings.py.sample @@ -109,6 +109,9 @@ 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 = "http://localhost:8000" + +# IMPORTANT: you should not change this setting once you've created +# elections, as your elections' cast_url will then be incorrect. SECURE_URL_HOST = "https://localhost:8443" # this additional host is used to iframe-isolate the social buttons, -- GitLab