IW4M-Admin/Master/master/__init__.py

18 lines
339 B
Python
Raw Normal View History

2018-04-18 16:46:53 -04:00
"""
The flask application package.
"""
from flask import Flask
from flask_restful import Resource, Api
from flask_jwt_extended import JWTManager
from master.context.base import Base
app = Flask(__name__)
app.config['JWT_SECRET_KEY'] = 'my key!'
jwt = JWTManager(app)
api = Api(app)
ctx = Base()
import master.routes
import master.views