Django-admin-charts

Latest version: v1.4.0

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

Scan your dependencies

Page 1 of 9

1.4.0

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

* added DashboardStats.queryset_modifiers to allow to modify queryset before it is used in chart, e.g. to add prefetch_related, filters or execute annotation functions. Fixed criteria are now deprecated in favour of queryset_modifiers.
* values in divided chart now are filtered by other criteria choices
* removed support for other JSONFields than Django's native JSONField, removed ADMIN_CHARTS_USE_JSONFIELD setting
* admin charts are loaded by JS including chart controls for quicker admin index load
* --time-until option was added to the `recalculate_charts` management command to recalculate charts only until given date
* CriteriaToStatsM2M.choices_based_on_time_range field changed it's meaning. Now choices are always calculated for whole time range. Value of this choice determines the way how the choices are calculated.

1.3.1

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

* fix for Django 5.0 DashboardStats admin add view

1.3.0

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

* set BigAutoField as app default
* remove support for Django<=3.1
* fix hardcoded url in admin_charts.js template

1.2.4

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

* add recalculate_charts management command
* fix linting
* forbid to insert non-working characters into chart_key

1.2.3

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

* add missing migration

1.2.2

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

* remove unnecessary (wrongly added) permission and explain which permission to enable in error message

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.