Questions tagged [django-debug-toolbar]

The Django Debug Toolbar is a configurable set of panels that display a variety of debug information about the current request/response.

As of release v0.9.4, the Django Debug Toolbar includes panels displaying the following information:
- Django version
- Request timer
- A list of settings in settings.py
- Common HTTP headers
- GET/POST/cookie/session variable display
- Templates and context used, and their template paths
- SQL queries including time to execute and links to EXPLAIN each query
- List of signals, their args and receivers
- Logging output via Python's built-in logging, or via the logbook module

It is often referred to by its abbreviated name "DjDT".

You can find out more on its PyPi page at: http://pypi.python.org/pypi/django-debug-toolbar or in the github repository https://github.com/django-debug-toolbar/django-debug-toolbar

219 questions
0
votes
1 answer

Unnecessary many SQL queries in Django

In all my models I have a get_absolute_url() method as the one below, but with django-debug-toolbar I see that it costs many SQL queries. My objects are related in a tree structure, so a level 3 object only knows what level 1 object it is related to…
Jamgreen
  • 10,329
  • 29
  • 113
  • 224
0
votes
1 answer

Django debug-toolbar. Can't see panel

This problem only debug-toolbar-1.0.1. If downgrade to django-debug-toolbar==0.9.4 - all works. Django==1.5.5(I try Django 1.6, but problem the same). I running server, and can't see panel(django-debug-toolbar). In log: [17/Jan/2014 03:05:16] "GET…
SashaOO
  • 1
  • 2
0
votes
0 answers

Django debug toolbar showing only fraction of page load time

Loading the index page of my django app on a dedicated (but old) server, takes about 5 seconds (estimate). Loading the index page of my django app on the localhost takes at most few hundred miliseconds. I have installed django-debug-toolbar on both…
Enuy
  • 619
  • 1
  • 7
  • 21
0
votes
0 answers

django-debug-toolbar middleware with django-social-auth context processor = InternalError

the error is: Exception Type: InternalError Exception Value: current transaction is aborted, commands ignored until end of transaction block TB: /usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py in execute_sql except…
user2323711
  • 843
  • 1
  • 7
  • 13
0
votes
1 answer

Django Toolbar gives different times when same template is loaded

When using the Django debug toolbar, it says a page might load in say 4000 ms. But when we reload the page (with ctrl+F5 to clear the cache) it says it loads in say 4400 ms -- or 3600 ms. Is there a more accurate way to benchmark the load time? The…
user1328021
  • 9,110
  • 14
  • 47
  • 78
0
votes
1 answer

Django's "current transaction is aborted, commands ignored until end of transaction block" only after upgrading to 1.5

I have a pretty weird bug after upgrading to Django 1.5.. when I access my ClientDetailView with Django debug toolbar activated I get the following error: Traceback: File…
la_f0ka
  • 1,773
  • 3
  • 23
  • 44
0
votes
0 answers

Django-debug-toolbar not displaying (Can't find the .js and .css) and display is at "none"

Possible Duplicate: django-debug-toolbar looking for assets by relative path? So I just followed the instructions to install the django-debug-toolbar v0.9.4, and I can't make the toolbar appear in BOTH the admin and regular application. However, I…
abisson
  • 4,365
  • 9
  • 46
  • 68
-1
votes
1 answer

No module named 'debug_toolbarnews'

I did the following to install django-debug-toolbars pip install django-debug-toolbar added to middleware classes: MIDDLEWARE =…
-1
votes
4 answers

What could I use for looking at the variable's content in Django?

I'd like to have some information about set of functions (maybe analog of the var_dump() in PHP) which I could use for looking at the content of variables on a server side in a way that they should be printed on server-side somehow during the work…
Павел Иванов
  • 1,863
  • 5
  • 28
  • 51
1 2 3
14
15