Jidáš: oprava padání sphinxu (dokumentace)
This commit is contained in:
parent
2afa250df6
commit
37437b9674
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue