[damned-lies] Remove SECRET_KEY from settings.py



commit 5dacc95c938cba22795dd9d4c787be9e17f5cf72
Author: Claude Paroz <claude 2xlibre net>
Date:   Thu Jul 12 12:07:00 2012 +0200

    Remove SECRET_KEY from settings.py

 README      |    4 ++--
 settings.py |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/README b/README
index ddbb3e1..16e7b1d 100644
--- a/README
+++ b/README
@@ -39,8 +39,8 @@ Installation
 
 1 - Create a local_settings.py and overwrite settings to match your requirements
     and your configuration layouts. Typical settings to customize include:
-    DATABASES, DEBUG, TEMPLATE_DEBUG, STATIC_SERVE, ADMINS, MANAGERS, ADMIN_GROUP,
-    SCRATCHDIR and various EMAIL settings.
+    DATABASES, SECRET_KEY, DEBUG, TEMPLATE_DEBUG, STATIC_SERVE, ADMINS, MANAGERS,
+    ADMIN_GROUP, SCRATCHDIR and various EMAIL settings.
     (please refer to Database configuration below for more
     informations).
     SCRATCHDIR should point to an existing directory, writable by
diff --git a/settings.py b/settings.py
index 1425dcd..52424fc 100644
--- a/settings.py
+++ b/settings.py
@@ -96,7 +96,8 @@ ADMIN_MEDIA_PREFIX = '/media/admin/'
 LOGIN_URL = '/login/'
 
 # Make this unique, and don't share it with anybody.
-SECRET_KEY = 'zk!^92901p458c8lo0(fox-&k7jj(aple76_k%eva7b1)xjo8-'
+# To be filled in local_settings.py
+SECRET_KEY = ''
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]