diff --git a/starlette_admin/views.py b/starlette_admin/views.py index dc6bb87c..79d2b3c7 100644 --- a/starlette_admin/views.py +++ b/starlette_admin/views.py @@ -185,7 +185,7 @@ class BaseModelView(BaseView): sortable_fields: List of sortable fields. export_fields: List of fields to include in exports. fields_default_sort: Initial order (sort) to apply to the table. - Should be a sequence of field names or a tuple of (field name, sort direction) pairs. + Should be a sequence of field names or a tuple of (field name, sort direction). For example: `["title", ("created_at", False), ("price", True)]` sorts by `title` ascending, `created_at` ascending and `price` descending.