From 25831f00339b11f152b2f65904bb3fa9d9af05d0 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 8 Apr 2016 22:09:01 -0700 Subject: [PATCH] Making prod web server run by default --- caravel/config.py | 2 +- docs/installation.rst | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/caravel/config.py b/caravel/config.py index 1def66bf43286..93930cc1b2847 100644 --- a/caravel/config.py +++ b/caravel/config.py @@ -41,7 +41,7 @@ CSRF_ENABLED = True # Whether to run the web server in debug mode or not -DEBUG = True +DEBUG = False # Whether to show the stacktrace on 500 error SHOW_STACKTRACE = True diff --git a/docs/installation.rst b/docs/installation.rst index fcfc63c53356d..57cdc467876a0 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -112,9 +112,6 @@ of the parameters you can copy / paste in that configuration module: :: # Flask-WTF flag for CSRF CSRF_ENABLED = True - # Whether to run the web server in debug mode or not - DEBUG = True - This file also allows you to define configuration parameters used by Flask App Builder, the web framework used by Caravel. Please consult the `Flask App Builder Documentation