Commit 3298c1d3 authored by c.fortmanngrote's avatar c.fortmanngrote
Browse files

Still debugging.

parent dbb2513a
Pipeline #251013 failed with stages
in 4 minutes and 13 seconds
......@@ -19,6 +19,9 @@ app.testing = app.debug = False
app.config.from_object(Config)
app.config['UPLOAD_DIR'] = upload_dir
csrf = CSRFProtect()
csrf.init(app)
db = MongoEngine()
app.session_interface = MongoEngineSessionInterface(db)
db.init_app(app)
......@@ -28,7 +31,6 @@ mail = Mail(app)
app.redis = Redis.from_url(app.config['REDIS_URL'])
app.queue = rq.Queue('rarefan', connection=app.redis)
csrf = CSRFProtect(app)
# Has to be the last import to avoid cyclic dependencies.
from app import views, routes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment