Piccolo

Latest version: v1.5.0

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

Scan your dependencies

Page 21 of 48

0.47.0

Not secure
------

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:

.. code-block:: python

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

Not secure
------

Added Turkish translations (thanks to omerucel for this).

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

0.45.2

------

Nullable UUID fields now work correctly.

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

0.45.1

Not secure
------

Add back JSON formatting in list view which was removed by accident.

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

0.45.0

Not secure
------

Nullable number fields now work correctly.

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

0.44.1

Not secure
------
Updated ``to_dict`` so it works with nested objects, as introduced by the
``prefetch`` functionality.

For example:

.. code-block:: python

band = Band.objects(Band.manager).first().run_sync()

>>> band.to_dict()
{'id': 1, 'name': 'Pythonistas', 'manager': {'id': 1, 'name': 'Guido'}}

It also works with filtering:

.. code-block:: python

>>> band.to_dict(Band.name, Band.manager.name)
{'name': 'Pythonistas', 'manager': {'name': 'Guido'}}

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

Page 21 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.