Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jowilf committed Sep 4, 2023
1 parent 446968e commit 226aea4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starlette_admin/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ 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).
Should be a sequence of field names or a tuple of
(field name, True/False to indicate the sort direction).
For example:
`["title", ("created_at", False), ("price", True)]` sorts
by `title` ascending, `created_at` ascending and `price` descending.
Expand Down

0 comments on commit 226aea4

Please sign in to comment.