Skip to main content

Displays template rendering time on the timeline

Project description

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

For example:


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:

    # ...
    # ...

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:

    # ...

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

Project details

Download files

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

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page