Move cookie secret to settings. #7

This commit is contained in:
Arik Fraimovich 2013-10-28 19:48:20 +02:00
parent 604a294662
commit c24b6cabc9
2 changed files with 2 additions and 1 deletions

View File

@ -298,7 +298,7 @@ def get_application(static_path, is_debug, redis_connection, data_manager):
static_path=static_path,
debug=is_debug,
login_url="/login",
cookie_secret="1f7146d871a6a23263089419cc443813",
cookie_secret=settings.COOKIE_SECRET,
redis_connection=redis_connection,
data_manager=data_manager)

View File

@ -20,6 +20,7 @@ ADMINS = []
STATIC_ASSETS_PATH = "../rd_ui/dist/"
WORKERS_COUNT = 2
MAX_CONNECTIONS = 3
COOKIE_SECRET = "c292a0a3aa32397cdb050e233733900f"
# Configuration of the operational database for the Django models
django.conf.settings.configure(DATABASES = { 'default': {