From 5963a6088d511b90ad0317816599aa176f7ba393 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sat, 1 Jan 2022 23:42:57 +0100 Subject: [PATCH] Add a command to generate SECRET_KEY --- conf/deploycfg.py | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/deploycfg.py b/conf/deploycfg.py index 6cb4c85..21a30a9 100644 --- a/conf/deploycfg.py +++ b/conf/deploycfg.py @@ -11,6 +11,7 @@ # values, but it might not…) DEBUG = False +# One method to create SECRET_KEY is the command `cat /dev/random | tr -dc '[ -~]' | tr -d \' | head -c 100` SECRET_KEY = ... ALLOWED_HOSTS = [...] DATABASES = {