Rustango docs

The auto-admin

Register a model and get list/detail/edit out of the box.

Annotate a model's admin(...) options and register it; the admin builder wires list, detail, create, and edit views with search, filters, and pagination.

#[derive(Model)]
#[rustango(table = "article", display = "title",
    admin(list_display = "title, status, created_at",
          search_fields = "title, body",
          ordering = "-created_at"))]
pub struct Article { /* … */ }

Date hierarchy & facets

list_display, search_fields, list_filter, and date hierarchy are declarative — no view code to write.