your_root_project_path/app/templates/appbuilder/footer.htmlĪctually you can override any given F.A.B. You must develop your template,ĭevelop your jinja2 template and place it on the following relative path to override the F.A.B footer. The default footer can be easily changed by your own. You can override IndexView index function to display a different view if a user is logged in or not. Of course you can use a more complex index view, you can use any kind of view (BaseView childs), you can evenĬhange relative url path to whatever you want, remember to set default_view to your function. from_object ( 'config' ) db = SQLA ( app ) appbuilder = AppBuilder ( app, db. Forms - Override automatic form creationįrom app.index import MyIndexView app = Flask ( _name_ ) app. (Deprecated) Define your Chart Views (views.py).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |