Skip to main content

A toolbox of small utilities to assist Django development

Project description

Introduction

The debugtools module offers some easy to use debugging utilities to assist Django development.

Installation

First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install django-debugtools

Or the current folder can be installed:

pip install .

Configuration

Add the module to the installed apps:

INSTALLED_APPS += (
    'debugtools',
)

Usage

In Django templates, the following code can be used:

{% load debug_tags %}

{% print variable1 variable2 %}

To get a global overview of template variables:

{% print %}

The template context variables are printed in a customized pprint.pformat format, for easy reading.

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

django-debugtools-0.9.0.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file django-debugtools-0.9.0.tar.gz.

File metadata

File hashes

Hashes for django-debugtools-0.9.0.tar.gz
Algorithm Hash digest
SHA256 33e05634cb65bc6004ff1d22c2691db44cd0040dfc071204d83d0008fb51e48f
MD5 9f8a31af6ce6e1d9aae397224a9fe75a
BLAKE2b-256 4db9bb304f7907489f3a814501c5f799c3d8bfacad95d754f094752844876182

See more details on using hashes here.

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