Disable DEBUG

This commit is contained in:
Andrey Golovizin 2020-03-10 20:09:10 +01:00
parent a5aa4fce34
commit fbcd3b2f7b

View file

@ -36,7 +36,7 @@ BASE_DIR = os.path.dirname(os.path.abspath(__file__))
SECRET_KEY = "15-d*6bl(@+jfo92@=67vi1ohx%3e&^l98*bo*v$$+ms%!l(!!" SECRET_KEY = "15-d*6bl(@+jfo92@=67vi1ohx%3e&^l98*bo*v$$+ms%!l(!!"
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = ['.golovizin.ru', '.xn--b1abndboscb.xn--p1ai', 'localhost'] ALLOWED_HOSTS = ['.golovizin.ru', '.xn--b1abndboscb.xn--p1ai', 'localhost']