A Flask modelview for SQLAlchemy models