Bloom ServerAdmin Panel
Administration
Admin Panel
bloom_admin provides an automatic, server-rendered HTML administration panel modeled on Django's Admin interface.
Server-Rendered HTML Admin
Rather than requiring a separate single-page frontend app, bloom_admin renders semantic, accessible HTML directly on the server with zero client-side framework overhead.
Model Introspection
Inspects ModelMeta and FieldMeta to generate form inputs, checkboxes, and foreign key pickers automatically.
Strict Auto-Escaping
Built-in template engine auto-escapes all untrusted model content with SafeHtml wrappers to prevent XSS.
CSRF Protection
HMAC-SHA256 tokens are embedded in every form and verified on all state-changing POST and DELETE actions.
BloomAdminSite & Model Registration
Register models with custom changelist display columns, filters, and search fields:
lib/admin.dart
dart
Changelists, Forms & Bulk Operations
- Real SQL Pagination: Pagination executes via
limitandoffsetqueries against the database without in-memory dataset slicing. - In-place Editing & Bulk Actions: Checkbox selection enables multi-row edits (
listEditable), bulk deletions, and custom bulk action handlers. - CSV Export: Built-in
/export-csv/endpoints export changelist datasets with active filters applied.