On 16 déc. 2013, at 12:33, kamagatos <kamaga...@gmail.com> wrote:

> we should start thinking about a way to catch and display every ajax/json 
> responses. because more and more applications are becoming ajax ready and 
> they use front-end frameworks like angularjs or backbone to deal with getting 
> stuff on the backend.

Several people have already thought about it, and some have written code: 
https://github.com/django-debug-toolbar/django-debug-toolbar/pull/356. But as 
I’m not using the toolbar myself — I merely modernized it because I believe 
it’s an important component of the Django ecosystem — I’m lacking motivation to 
write that feature.

Fortunately, in version 1.0, the core of the toolbar has been slimmed down 
drastically; almost everything is implemented in panels. You can implement the 
feature you’re describing as a third-party panel, without any changes to the 
toolbar itself. If you write such a panel and it works well, then we could 
discuss merging in the toolbar.

The public API for panels is documented here: 
http://django-debug-toolbar.readthedocs.org/en/latest/panels.html#api-for-third-party-panels.
 I hope this helps!

-- 
Aymeric.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/004E3AC7-169E-4647-B913-EA6A20EFEF77%40polytechnique.org.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to