Skip to content

adminsite 0.2.1

Choose a tag to compare

@github-actions github-actions released this 14 Oct 20:59
· 38 commits to main since this release
pip install adminsite==0.2.1

A release of fixes. Mounted in Litestar, the admin opens every page, where before only its front page did. Saved views and the filters drawer behave as people expect: a saved view opens from anywhere on its tab and asks before it is removed, and a picked filter choice such as "Today" can be let go from the drawer, which now has a Clear all on a computer too.

Before upgrading:

  • A project that overrides base.html, form.html, _filters.html, _filters_footer.html, _list_forms.html or _saved_tabs.html should start its copy again from the new one.

What changed:

  • The bar that holds a form's Save button has the cards' quiet shadow, where it cast the large shadow of a menu.
  • Mounted in Litestar, the admin opens every page, where only its front page opened and the rest returned 404 (#89). The Litestar example in Getting started sets copy_scope=True, as Litestar asks.
  • A saved view's tab opens the view wherever it is clicked, where its "shared" label did nothing, and its × asks before it removes the view (#90).
  • The filters drawer has a Clear all on a computer too, where only phones had one, and a choice that takes one value, such as "Today" or Yes, is let go when picked again, where it stayed picked (#91). Two date filters on one list keep their shortcuts apart, where picking one unticked the other's.