Jidáš: oprava padání sphinxu (dokumentace)

This commit is contained in:
MaM Web user 2023-11-20 21:46:42 +01:00
parent 2afa250df6
commit 37437b9674

View file

@ -20,7 +20,9 @@ INSTALLED_APPS += (
)
# SECURITY WARNING: keep the secret key used in production secret!
assert not SECRET_KEY.startswith('12345')
# `'DOCUTILSCONFIG' in os.environ` kvůli sphinxu
# FIXME zjistit, zda je bezpečné a zda se to nedá udělat lépe
assert 'DOCUTILSCONFIG' in os.environ or not SECRET_KEY.startswith('12345')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False