Skip to main content

Request History Panel for Django Debug Toolbar

Project description

Update: History is now built into Django Debug Toolbar

Since version 3.0 of Django Debug Toolbar a built in history panel is available. More details can be found in this PR and the docs. As this functionality is being provided by the toolbar itself there will likely not be any further updates to this project (though if there are good reasons for an exception like supporting older versions of the toolbar it will be considered). Thanks to all those who've contributed to and used this project.

Request History Panel for Django Debug Toolbar

Adds a request history panel to Django Debug Toolbar for viewing stats for different requests (with the option for ajax support).


pip install django-debug-toolbar-request-history

Then add the panel to DEBUG_TOOLBAR_PANELS (see the config section for more details).

Note: only Django Debug Toolbar versions 2.0 and higher are now supported. For older versions try:

pip install django-debug-toolbar-request-history==0.0.11

or for the development version:

pip install -e git+


  • Click on the "Request History" panel in the toolbar to load the available requests
  • Click on the request you are interested in (on the "Time" or "Path" part of the request) to load the toolbar for that request


Due to django-debug-toolbar reliance on thread-local:

  • currently requests do not survive server reload, therefore, when using the dev server old requests will not be available after a code change is loaded
  • if you get inconsistent request history each time you click on the panel, lower your server threads to 1

Config (in

To DEBUG_TOOLBAR_PANELS add 'ddt_request_history.panels.request_history.RequestHistoryPanel' e.g.:

    'ddt_request_history.panels.request_history.RequestHistoryPanel',  # Here it is

To change the number of stored requests add RESULTS_STORE_SIZE to DEBUG_TOOLBAR_CONFIG e.g.:



  • Clean-up
  • Change the storage to survive server reloads (maybe use cache or session).
  • Add tests

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-debug-toolbar-request-history, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size django_debug_toolbar_request_history-0.1.4-py2.py3-none-any.whl (8.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page