skip to navigation
skip to content

Not Logged In

ddt-envelope 0.0.2

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

============
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/
```  
File Type Py Version Uploaded on Size
ddt-envelope-0.0.2.tar.gz (md5) Source 2014-07-16 2KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 25 downloads in the last week
  • 28 downloads in the last month