mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
This reverts commit c6867d22b9.
This commit is contained in:
@@ -103,10 +103,6 @@ def get_manifest():
|
||||
|
||||
#################################################################
|
||||
|
||||
# Setup the cache prior to registering the blueprints.
|
||||
cache = setup_cache(app, conf.get("CACHE_CONFIG"))
|
||||
tables_cache = setup_cache(app, conf.get("TABLE_NAMES_CACHE_CONFIG"))
|
||||
|
||||
for bp in conf.get("BLUEPRINTS"):
|
||||
try:
|
||||
print("Registering blueprint: '{}'".format(bp.name))
|
||||
@@ -128,6 +124,9 @@ if conf.get("WTF_CSRF_ENABLED"):
|
||||
|
||||
pessimistic_connection_handling(db.engine)
|
||||
|
||||
cache = setup_cache(app, conf.get("CACHE_CONFIG"))
|
||||
tables_cache = setup_cache(app, conf.get("TABLE_NAMES_CACHE_CONFIG"))
|
||||
|
||||
migrate = Migrate(app, db, directory=APP_DIR + "/migrations")
|
||||
|
||||
app.config.get("LOGGING_CONFIGURATOR").configure_logging(app.config, app.debug)
|
||||
|
||||
Reference in New Issue
Block a user