Piccolo

Latest version: v1.5.0

Safety actively analyzes 626983 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 23 of 48

0.40.0

Not secure
------

* Improved German translations (thanks to hblunck for this).
* When submitting a form, scroll to the top of the page if an error occurs so
the error box is visible (thanks to sinisaos for this).
* If a custom ``BaseUser`` table is used for authentication, which uses a
``UUID`` as the primary key, it now works.

-------------------------------------------------------------------------------

0.39.0

Not secure
------

If an ``Array`` column has ``choices`` specified, then Piccolo Admin will
show dropdowns, so the user can pick one of the choices.

-------------------------------------------------------------------------------

0.38.2

Not secure
------
Removed problematic type hint which assumed pytest was installed.

-------------------------------------------------------------------------------

0.38.1

Not secure
------
Minor changes to ``get_or_create`` to make sure it handles joins correctly.

.. code-block:: python

instance = (
Band.objects()
.get_or_create(
(Band.name == "My new band")
& (Band.manager.name == "Excellent manager")
)
.run_sync()
)

In this situation, there are two columns called ``name`` - we need to make sure
the correct value is applied if the row doesn't exist.

-------------------------------------------------------------------------------

0.38.0

Not secure
------

Fixed a bug with ``TableConfig`` and ``exclude_visible_columns``. Thanks to
web-maker for this fix.

-------------------------------------------------------------------------------

0.37.0

Not secure
------

* Python 3.11 is now officially supported.
* Added debug mode: ``create_admin(tables=[MyTable], debug=True)``.
* Logging exceptions for 500 errors.
* Fixed a typo in the docs about how to use validators (thanks to sinisaos for
reporting this).
* Updated the tests for Starlette / FastAPI's new test client. This means that
``fastapi==0.87.0`` / ``starlette==0.21.0`` are now the minimum versions
supported. Thanks to sinisaos for this.

-------------------------------------------------------------------------------

Page 23 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.