Skip to content

Releases: piccolo-orm/piccolo_admin

0.55.0

Choose a tag to compare

@dantownsend dantownsend released this 24 Jul 22:08

When deleting a row, if a problem is encountered then an error message is now shown in the UI.

This is useful if we have constraints on the table (for example ON DELETE RESTRICT).

Screenshot 2023-07-24 at 23 08 22

Support for Python 3.7 was dropped as it's now end of life.

0.54.0

Choose a tag to compare

@dantownsend dantownsend released this 13 Jul 17:40

Improved the behaviour of the referencing tables links on the detail page (see #321 for more info).

image

0.53.0

Choose a tag to compare

@dantownsend dantownsend released this 13 Jul 10:23

Improved the UI for JSON fields (the cursor would sometimes jump to the bottom).

0.52.0

Choose a tag to compare

@dantownsend dantownsend released this 07 Jul 21:24

Version pinning Pydantic to v1, as v2 has breaking changes.

We will add support for Pydantic v2 in a future release.

Thanks to @sinisaos for helping with this.

0.51.0

Choose a tag to compare

@dantownsend dantownsend released this 28 Jun 08:55

Improved the UI for password inputs (e.g. on the change password page). There's now an option to see what you're typing in. Thanks to @sinisaos for this.

Screenshot 2023-06-28 at 09 53 50

Also, a bug with nullable date fields was fixed.

0.50.0

Choose a tag to compare

@dantownsend dantownsend released this 30 May 08:34

Improved handling of nullable email fields.

Thanks to @sinisaos for adding this, and @sumitsharansatsangi for reporting the issue.

0.49.0

Choose a tag to compare

@dantownsend dantownsend released this 25 May 22:47

Custom links can now be added to the sidebar. This allows quick navigation to specific pages in the admin, or to external websites.

For example:

create_admin(
    sidebar_links={
        "Top Movies": "/admin/#/movies/?__order=-popularity",
    },
    ...
)

This is how it looks:

image

Thanks to @sinisaos for adding this.

0.48.0

Choose a tag to compare

@dantownsend dantownsend released this 26 Apr 22:26
  • Improved the type annotations for FormConfig.
  • Fixed a bug with array fields in custom forms (thanks to @sinisaos for fixing this).

0.47.0

Choose a tag to compare

@dantownsend dantownsend released this 17 Apr 22:12

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.

0.46.0

Choose a tag to compare

@dantownsend dantownsend released this 22 Mar 16:46

Added Turkish translations (thanks to @omerucel for this).