browser-go-api/database.py
2019-10-05 22:40:02 -07:00

10 lines
229 B
Python

# ! 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()