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.

Source Distribution

ddt-envelope-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

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