app.views.admin
¶
SuperUser/Admin portal using flask-admin
Module Contents¶
Classes¶
Our extended ModelView Class |
Attributes¶
Initialised Admin Portal |
- app.views.admin.admin¶
Initialised Admin Portal
- class app.views.admin.ModelView(model, session, name=None, category=None, endpoint=None, url=None, static_folder=None, menu_class_name=None, menu_icon_type=None, menu_icon_value=None)¶
Bases:
flask_admin.contrib.sqla.ModelView
Our extended ModelView Class
Refer to Flask-Admin Docs for more details
- is_accessible(self)¶
This function checks if a user should be given access or not