Requests index rendering

This commit is contained in:
richard-dds
2018-08-01 14:17:43 -04:00
parent 3a53fc122d
commit 4ee662665e
8 changed files with 164 additions and 42 deletions

View File

@@ -2,15 +2,18 @@ import os
import re
from configparser import ConfigParser
from redis import StrictRedis
from flask import Flask, request, g
from flask import Flask, request, g, session
from unipath import Path
from atst.api_client import ApiClient
from atst.sessions import RedisSessions
from atst.database import db
from atst.assets import assets
from atst.routes import bp
from atst.routes.workspaces import bp as workspace_routes
from atst.routes.requests import requests_bp
ENV = os.getenv("TORNADO_ENV", "dev")
@@ -33,6 +36,7 @@ def make_app(config):
app.register_blueprint(bp)
app.register_blueprint(workspace_routes)
app.register_blueprint(requests_bp)
return app
@@ -48,7 +52,8 @@ def make_flask_callbacks(app):
"id": "cce17030-4109-4719-b958-ed109dbb87c8",
"first_name": "Amanda",
"last_name": "Adamson",
"atat_role": "default"
"atat_role": "default",
"atat_permissions": []
}
# TODO: Make me a macro