Skip to main content

django-debug-toolbar-template-profiler

https://img.shields.io/pypi/v/django-debug-toolbar-template-profiler.svg

An extra panel for django-debug-toolbar that displays time spent rendering each template.

For example:

https://raw.githubusercontent.com/node13h/django-debug-toolbar-template-profiler/master/screenshot.png

Installation

First, you’ll need to install and configure django-debug-toolbar as per its installation instructions.

Note: currently django-debug-toolbar 2.0+ is not supported.

Second, install this package:

pip install django-debug-toolbar-template-profiler

Third, add it to your installed apps - order doesn’t matter but after debug_toolbar will keep it neatly grouped:

INSTALLED_APPS = [
    # ...
    "debug_toolbar",
    "template_profiler_panel",
    # ...
]

Fourth, configure django-debug-toolbar’s DEBUG_TOOLBAR_PANELS setting as per its documentation to include the panel. You’ll need to copy the default and add the panel at the end:

DEBUG_TOOLBAR_PANELS = [
    # ...
    "template_profiler_panel.panels.template.TemplateProfilerPanel",
]

After this, you should see the “Template Profiler” panel when you load the toolbar. Both Django and Jinja2 template render() calls will be measured.

Release files for django-debug-toolbar-template-profiler 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-debug-toolbar-template-profiler 2.0.0
File Size Uploaded
django-debug-toolbar-template-profiler-2.0.0.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-debug-toolbar-template-profiler 2.0.0
File Interpreter ABI Platform
django_debug_toolbar_template_profiler-2.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 16.8 kB

Release files / django-debug-toolbar-template-profiler-2.0.0.tar.gz

Download URL django-debug-toolbar-template-profiler-2.0.0.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c983c9bd9fee1d0e297c52fa3551692e505eae9fc641e0d92dfc0d1b7b135a15
BLAKE2b-256 checksum
How to use checksums
54c7bf5dced4aa7df53dcebdedeb1860ce0bf5665d1e51f7f2005ba202a1dc00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release files / django_debug_toolbar_template_profiler-2.0.0-py2.py3-none-any.whl

Download URL django_debug_toolbar_template_profiler-2.0.0-py2.py3-none-any.whl
Size 9.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e18f645b05b354ce3172e43cbcea7447431b1acdaced8a2291229548185676a2
BLAKE2b-256 checksum
How to use checksums
8af57839b07d2ab8ccc7c4833e1ab89cb9bb1c179e9994d398cb27ae4f8dfae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Release history Release notifications | RSS feed

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

This release

2.0.0 This release

2 release files

1.1.0

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page