Generation

generate functionMon, 06 Feb 2023

create an api for transforming an sqlite database into xml using flask-admin

def create_api(db, admin): models = [models.Article, models.Author, models.Genre] for model in models: admin.add_view(ModelView(model, db.session))

Questions about programming?Chat with your personal AI assistant