commit: c9b3f8148df243dd30497afcba8aefbdd24a9400 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Sun Feb 9 14:14:30 2020 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sun Feb 9 23:16:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/euscan.git/commit/?id=c9b3f814
euscanwww: Support loading oad Django SECRET_KEY from environment Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> euscanwww/euscanwww/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/euscanwww/euscanwww/settings.py b/euscanwww/euscanwww/settings.py index 4ee020b..7523da3 100644 --- a/euscanwww/euscanwww/settings.py +++ b/euscanwww/euscanwww/settings.py @@ -115,7 +115,7 @@ STATICFILES_FINDERS = ( ) # Make this unique, and don't share it with anybody. -SECRET_KEY = '' +SECRET_KEY = os.environ.get('EUSCAN_SECRET_KEY', '') # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = (