Django-speedinfo

Latest version: v2.0.2

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

Scan your dependencies

Page 1 of 3

2.0.2

* Fixed negative SQL count and time 10

2.0.1

- Fix evaluating of SQL stats by processing all available database connections, not just `default` one

2.0.0

Old profiling data will be unavailable after upgrading. Don't forget to export the data in advance.

- Add extensible storage backend for profiling data and two storage implementations: `CacheStorage` and `DatabaseStorage`. Setup one of the storage backends as shown in the section 4 of [Setup](https://github.com/catcombo/django-speedinfosetup).
- `SPEEDINFO_PROFILING_CONDITIONS` is empty by default. If you use `SPEEDINFO_EXCLUDE_URLS` in your project you need to initialize the list of conditions explicitly: `SPEEDINFO_PROFILING_CONDITIONS = ["speedinfo.conditions.exclude_urls.ExcludeURLCondition"]`
- `SPEEDINFO_REPORT_COLUMNS` and `SPEEDINFO_REPORT_COLUMNS_FORMAT` were removed, use `SPEEDINFO_ADMIN_COLUMNS` instead. Every entry in `SPEEDINFO_ADMIN_COLUMNS` list is a tuple (column name, value format, attribute name). See [Customize admin columns](https://github.com/catcombo/django-speedinfocustomize-admin-columns) for details. To add extra columns follow the instruction in the section [Extra admin columns](https://github.com/catcombo/django-speedinfoextra-admin-columns) below.
- `speedinfo.settings` module renamed to `speedinfo.conf`
- Base condition class was renamed from `Condition` to `AbstractCondition`

1.4.1

* Add system checks to notify of invalid configuration
* Rename `order_field` to `expression` in `ReportColumnFormat` namedtuple
* Replace `mysql` with `sqlite` in tests

1.4.0

* Add [conditional profiling](https://github.com/catcombo/django-speedinfoprofiling-conditions)

1.3.7

* Fix broken admin sorting in Django >= 2.0
* Add sorting for all columns

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.