[extensions-web] settings: remove SECRET_KEY.
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] settings: remove SECRET_KEY.
- Date: Sun, 4 Dec 2016 09:50:08 +0000 (UTC)
commit 815cd7afb1410e2f558fb1da404b182c9d95e3e7
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sun Dec 4 13:49:23 2016 +0400
settings: remove SECRET_KEY.
Some random key should be placed to local_settings.py
sweettooth/settings.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/settings.py b/sweettooth/settings.py
index 6d55e04..220e92a 100644
--- a/sweettooth/settings.py
+++ b/sweettooth/settings.py
@@ -24,7 +24,8 @@ XAPIAN_DB_PATH = os.path.join(BASE_DIR, 'xapian.db')
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
-SECRET_KEY = 'tv(d+lom-sa^de5i#ab)(g^3249tbzssizuvh8m9_lwppdn1bw'
+# Set this in local_settings.py to some random value
+SECRET_KEY = ''
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]