Example #1
0
 def create_app(self):
     app = Flask(__name__, template_folder='./../app/templates')
     init(app, UTConfig)
     return app
Example #2
0
from flask import Flask

from app.app_init import init
from config import Config


app = Flask(__name__, template_folder="./templates", static_folder="./../static")
init(app, Config)