FormCache class
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user