From f03f5181e973a2257e242fb2944afa9cffa949d4 Mon Sep 17 00:00:00 2001 From: Linmao Song Date: Fri, 26 Jan 2018 16:38:45 +0000 Subject: [PATCH] fill secret key --- dpaste/settings/base.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dpaste/settings/base.py b/dpaste/settings/base.py index 3bbcabf..86a32f9 100644 --- a/dpaste/settings/base.py +++ b/dpaste/settings/base.py @@ -37,9 +37,6 @@ DEBUG = False TIME_ZONE = 'UTC' SITE_ID = 1 -# Make this unique, and don't share it with anybody. -SECRET_KEY = '' - ALLOWED_HOSTS = ( 'dpaste.de', 'www.dpaste.de', @@ -48,6 +45,7 @@ ALLOWED_HOSTS = ( '127.0.0.1', ) +# Make this unique, and don't share it with anybody. SECRET_KEY = 'CHANGE_ME' #============================================================================== @@ -114,8 +112,8 @@ TEMPLATES = [ ] INSTALLED_APPS = ( - 'django.contrib.staticfiles', 'django.contrib.sessions', + 'django.contrib.staticfiles', 'dpaste', )