Skip to content

0.47.0

Choose a tag to compare

@dantownsend dantownsend released this 17 Apr 22:12
· 129 commits to master since this release

Multiple columns can now be used for sorting the rows in the UI.

Setting the default order for a table is now possible. For example, if we want to order movies by rating:

create_admin(
    tables=[
        TableConfig(
            Movie,
            order_by=[
                OrderBy(Movie.rating, ascending=False)
            ]
        )
    )
)

Thanks to @sinisaos and @sumitsharansatsangi for their help with this.