diff --git a/docs/installation.rst b/docs/installation.rst index dc4775810..10aa7d77b 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -156,7 +156,7 @@ of the parameters you can copy / paste in that configuration module: :: SQLALCHEMY_DATABASE_URI = 'sqlite:////path/to/superset.db' # Flask-WTF flag for CSRF - CSRF_ENABLED = True + WTF_CSRF_ENABLED = True # Set this API key to enable Mapbox visualizations MAPBOX_API_KEY = '' diff --git a/tests/superset_test_config.py b/tests/superset_test_config.py index d98159b0c..89b2c40c4 100644 --- a/tests/superset_test_config.py +++ b/tests/superset_test_config.py @@ -16,7 +16,6 @@ SQL_SELECT_AS_CTA = True SQL_MAX_ROW = 666 TESTING = True -CSRF_ENABLED = False SECRET_KEY = 'thisismyscretkey' WTF_CSRF_ENABLED = False PUBLIC_ROLE_LIKE_GAMMA = True