Skip to main content

Simple helper for inspecting non-html views with django-debug-toolbar

Project description

============
ddt-envelope
============

Simple solution to use django-debug-toolbar with non HTML views. Helps in e.g. profiling RESTful APIs.


Instalation
===========

1. Add the debug_toolbar directory to your Python path.

2. Add `ddt-envelope` to your `INSTALLED_APPS`:

```
INSTALLED_APPS = (
...
'ddt_envelope',
)
```
3. Add `ddt_envelope` to your `urls.py`

```
urlpatterns = patterns('',
...
url(r'^__ddte__/', include('ddt_envelope.urls')),
)
```

Using ddt-envelope
==================

To inspect non-html view with ddt-envelope just insert `__ddte__` after hostname, e.g.:

```
http://example.com/__ddte__/maybe/json/
```

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 ddt-envelope, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ddt-envelope-0.0.2.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page