browser-go-api/database.py

11 lines
229 B
Python
Raw Normal View History

2019-10-06 00:49:49 +00:00
# ! SQLAlchemy > Marshmallow - these must be imported in this order
from flask_sqlalchemy import SQLAlchemy
from flask_marshmallow import Marshmallow
# init database
db = SQLAlchemy()
# init marshmallow
ma = Marshmallow()