Browse Source

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

pull/46/head
MaM Web user 1 year ago
parent
commit
37437b9674
  1. 4
      mamweb/settings_prod.py

4
mamweb/settings_prod.py

@ -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…
Cancel
Save