From 234e5253910d5ac455c70ed951f2a92c05c68c33 Mon Sep 17 00:00:00 2001 From: Daniel Harding Date: Sun, 29 May 2022 21:13:54 +0300 Subject: [PATCH 1/2] Add missing change log entries --- docs/changes.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/changes.rst b/docs/changes.rst index f981b3d61..3b6c68065 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -1,12 +1,21 @@ Change log ========== +* Properly implemented tracking and display of PostgreSQL transactions. * Removed third party panels which have been archived on GitHub. * Added Django 4.1a1 to the CI matrix. * Stopped crashing when ``request.GET`` and ``request.POST`` are neither dictionaries nor ``QueryDict`` instances. Using anything but ``QueryDict`` instances isn't a valid use of Django but, again, django-debug-toolbar shouldn't crash. +* Fixed the cache panel to work correctly in the presence of concurrency by + avoiding the use of signals. +* Reworked the cache panel instrumentation mechanism to monkey patch methods on + the cache instances directly instead of replacing cache instances with + wrapper classes. +* Added a :meth:`debug_toolbar.panels.Panel.ready` class method that panels can + override to perform any initialization or instrumentation that needs to be + done unconditionally at startup time. * Added pyflame (for flame graphs) to the list of third-party panels. * Fixed the cache panel to correctly count cache misses from the get_many() cache method. From c5d95ff1e29d97d243a8238eb5713a529abf549c Mon Sep 17 00:00:00 2001 From: Daniel Harding Date: Sun, 29 May 2022 21:14:11 +0300 Subject: [PATCH 2/2] Always use the canonical PyPI URL in the README --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 2c055ed30..ae062cb0d 100644 --- a/README.rst +++ b/README.rst @@ -5,7 +5,7 @@ Django Debug Toolbar |latest-version| |jazzband| |build-status| |coverage| |docs| |python-support| |django-support| .. |latest-version| image:: https://img.shields.io/pypi/v/django-debug-toolbar.svg - :target: https://pypi.python.org/pypi/django-debug-toolbar + :target: https://pypi.org/project/django-debug-toolbar/ :alt: Latest version on PyPI .. |jazzband| image:: https://jazzband.co/static/img/badge.svg @@ -25,11 +25,11 @@ Django Debug Toolbar |latest-version| :alt: Documentation status .. |python-support| image:: https://img.shields.io/pypi/pyversions/django-debug-toolbar - :target: https://pypi.python.org/pypi/django-debug-toolbar + :target: https://pypi.org/project/django-debug-toolbar/ :alt: Supported Python versions .. |django-support| image:: https://img.shields.io/pypi/djversions/django-debug-toolbar - :target: https://pypi.org/project/django-debug-toolbar + :target: https://pypi.org/project/django-debug-toolbar/ :alt: Supported Django versions The Django Debug Toolbar is a configurable set of panels that display various