Checkmark "column_formatters" - Flask-Admin
Updated 2026-08-29: flask.ext was removed in Flask 0.11, and the Bootstrap 2 icon class no longer renders under Flask-Admin’s Bootstrap 4 templates.
In your custom ModelView, you need to add the following lines:
from flask_admin.model.template import macro
column_formatters = dict(your_column=macro('render_your_column'))
list_template = 'list.html'
In your custom list.html template, you need to add the following jinja2 code:
{% macro render_your_column(model, column) %}
{% if model.your_column%}<i class="fa fa-check glyphicon glyphicon-ok"></i>{% endif %}
{% endmacro %}
If your row has a value in your_column, then it will show as a checkmark. You need to make a new macro for each column.