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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-debugtools-0.9.0.tar.gz
.
File metadata
- Download URL: django-debugtools-0.9.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33e05634cb65bc6004ff1d22c2691db44cd0040dfc071204d83d0008fb51e48f |
|
MD5 | 9f8a31af6ce6e1d9aae397224a9fe75a |
|
BLAKE2b-256 | 4db9bb304f7907489f3a814501c5f799c3d8bfacad95d754f094752844876182 |