Categorieën: Alle - admin - actions

door Artem Serga 12 jaren geleden

424

flask-admin

Flask-Admin is a versatile library used to create administrative interfaces for Flask applications. The library provides a range of model views, including BaseModelView, ModelView for MongoEngine, and ModelView for SQLAlchemy, enabling seamless integration with various backends.

flask-admin

flask-admin

BaseModelView

def __init__

actions

def edit_view

def add_view

def index_view

convert self._filters to filter_data for use in template

pasrse url

backends
ModelView MongoEngine
ModelView SQLAlchemy