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 details)

Uploaded Source

File details

Details for the file ddt-envelope-0.0.2.tar.gz.

File metadata

File hashes

Hashes for ddt-envelope-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9f6284ccaa863d65fe4d41603182cd5c5e8ffd0ec107f6911f0857bc7f8cd4e8
MD5 09b11a10c41b77be421ed80ef0134497
BLAKE2b-256 81d296d50348a372f8ed105a131a08b010c7df2a0988941487c8bd9a7f525d00

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