A powerful web admin for your database.
Fixed a bug with array inputs in custom forms (thanks to @sinisaos for this).
Added CSP (Content Security Policy) middleware to stop malicious SVG files from executing JavaScript. This was possible if:
It's recommended that you upgrade to this version. Thanks to @Skelmis for this.
Fixed a bug with the bulk update button not being translated.
Thanks to @jrycw for reporting the issue, and @sinisaos for the fix.
Added translations for Traditional Chinese (thanks to @jrycw for this).
Fixed a bug with filtering Array
columns when choices are defined. Thanks to @sinisaos for discovering the solution.
Fixed a bug with Array
columns which have choices defined. Both a select
and input
widget were being shown in some situations.
Added Python 3.12 support.
When filtering Varchar
and Text
columns, you can now specify the match
. Previously, it always defaulted to contains
, but now you can specify starts
, ends
and exact
. For example, you can now filter for a movie with a name starting with Star Wars
.
When filtering numeric / date / time columns, you can now specify the not equals
operator. For example, give me all the movie tickets which aren't on a certain day.
Fixed some minor bugs, and added additional Playwright tests.
Improved CSV downloads - the user now has the option of using commas or semicolons as delimiters. In Piccolo Admin v1 we had changed to using semicolons by default, which was causing confusion.
The sidebar styles were improved (see this issue for more info).
Fixed a regression in Piccolo Admin v1, where nullable boolean fields defaulted to null
instead of all
in the filter sidebar. This was caused by changes in Pydantic v2, where the JSON schema changed.