I'm currently trying to initialise and add views to my flask admin. I'm struggling with
where to put the admin.add_view(modelview...).
I have the following code in my __init__.py;
app.config['FLASK_ADMIN_SWATCH'] = 'cerulean'
admin = Admin(app, name='GameFinder', template_mode='bootstrap3')
and cant figure out where to put;
All the tutorials I can find online have their applications made from one file, so
separating these while keeping the User and Post classes accessible and the admin object is
Any help or pointers in the right direction would be appreciated.