FormCache class

This commit is contained in:
richard-dds
2018-11-15 16:03:29 -05:00
parent e06a28c918
commit a475cb3156
2 changed files with 27 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ from atst.models.permissions import Permissions
from atst.eda_client import MockEDAClient
from atst.uploader import Uploader
from atst.utils import mailer
from atst.utils.form_cache import FormCache
from atst.queue import queue
@@ -67,6 +68,8 @@ def make_app(config):
if ENV != "prod":
app.register_blueprint(dev_routes)
app.form_cache = FormCache(app.redis)
apply_authentication(app)
return app