flask.ext.superadmin.contrib.sqlamodel
¶
-
class
flask.ext.superadmin.contrib.sqlamodel.
ModelView
(model, *args, **kwargs)[source]¶ Class inherits configuration options from
BaseModelView
and they’re not displayed here.-
hide_backrefs
= False¶
-
create_blueprint
(admin)¶ Create Flask blueprint.
-
is_accessible
()¶ Override this method to add permission checks.
Flask-SuperAdmin does not make any assumptions about authentication system used in your application, so it is up for you to implement it.
By default, it will allow access for the everyone.
-
list
(*args, **kwargs)¶ List view
-
render
(template, **kwargs)¶ Render template
- template
- Template path to render
- kwargs
- Template arguments
-