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

unable to run server when django debug toolbar is enabled

We are handling a very large django codebase, we are using django debug toolbar, the problem is so weird, if I put DEBUG_TOOLBAR=True in my django.settings , I am not able to perform any activity with manage.py like python manage.py runserver or…
0
votes
0 answers

Django MemoryError if DEBUG = True

I am getting the following error when I make queries to my app through custom forms: Environment: Request Method: GET Request URL: http://34.212.77.49/anagrafiche/insolventi/?anno=2010 Django Version: 1.11.4 Python Version: 3.5.2 Installed…
Rodriguez David
  • 541
  • 9
  • 25
0
votes
0 answers

Django debug toolbar crashes when deployed on AWS Elastic Beanstalk

I am running a Django app on AWS Elastic Beanstalk but Django debug toolbar is causing the following error: Traceback (most recent call last): File "/opt/python/run/venv/lib/python3.4/site-packages/django/core/handlers/base.py", line 235, in…
0
votes
2 answers

Django 1.10: Error Installing django_debug_toolbar

I'm trying to install django-debug-toolbar Whenever I add the middleware in the settings, I'm getting the following error: File "/.env/lib/python3.5/site-packages/django/core/handlers/wsgi.py", line 153, in __init__ …
Wasi
  • 1,473
  • 3
  • 16
  • 32
0
votes
0 answers

Troubleshooting 5 sec Delay in Form Submission

I have created a very simple form submission for users to register, requiring them to enter their email, username, and password. There is a ~5 sec delay from when I click the submit button to when the form actually submits. How can I figure out…
wraasch
  • 405
  • 3
  • 13
0
votes
1 answer

Django debug toolbar in Angular.js not working

I want to use Django debug toolbar with Angular.js to see SQL queries, time taken to execute and explanation. I have added Django debug toolbar in the INSTALLED_APPS. According to documentation I set ROOT_TAG_EXTRA_ATTRS = 'ng-non-bindable' in the…
MysticCodes
  • 3,092
  • 5
  • 25
  • 33
0
votes
2 answers

Django debug toolbar installation (Django 1.9)

I'm using python 3.5.1 with django 1.9.4 in virtualenv (Windows). I'm trying to add the django-debug-toolbar but I get an error when starting the server. I added 'django_debug' in my installed_apps, and also…
Popa Andrei
  • 318
  • 1
  • 7
  • 15
0
votes
1 answer

Django Debug Toolbar Target?

I've got a web page loading pretty slowly, so I installed the Django Debug Toolbar. I'm pretty new at this, so I'm trying to figure out what I can do with it. I can see the database did 264 queries in 205 ms. Looks kind of high. I'm pretty sure I…
user3449833
  • 779
  • 2
  • 10
  • 28
0
votes
1 answer

Pages take long time to load after adding django-debug-toolbar

After adding django-debug-toolbar , my pages (all of them) load after a lot of time, more than 5 mins. And if it does not load, it gives error: [Errno 32] Broken pipe. I am using Django 1.7, django-debug-toolbar 1.4.
learner
  • 39
  • 9
0
votes
1 answer

Django debug toolbar wrong paths

I have created a Django app and just deployed it to a server. I use some extra django features such as the django-debug-toolbar which was installed from my requirements.txt file using pip. When I run my app locally, on localhost, everything works…
Galil
  • 859
  • 2
  • 16
  • 40
0
votes
2 answers

Can not install django-debug-toolbar for Django 1.9

i have PIP INSTALL DJANGO-DEBUG-TOOLBAR for django 1.9,and here is the error message when i PYTHON MANAGE.PY RUNSERVER: Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File…
0
votes
1 answer

Where should I import debug_toolbar.models

I got confused by the official doc of django-debug-toolbar, http://django-debug-toolbar.readthedocs.org/en/1.3.2/installation.html According to the Explicit setup, I did below steps: pip install django-debug-toolbar set static folder as Django…
Yuwen Yan
  • 4,777
  • 10
  • 33
  • 63
0
votes
1 answer

Django debug toolbar is not loading in my app urls

I have added the following settings in my Project DEBUG_TOOLBAR_PATCH_SETTINGS = False INTERNAL_IPS = ('127.0.0.1', ) MIDDLEWARE_CLASSES = ( 'debug_toolbar.middleware.DebugToolbarMiddleware',...) INSTALLED_APPS = (..., …
Conans
  • 461
  • 1
  • 4
  • 14
0
votes
2 answers

How to optimize this Django query

I installed django-debug-toolbar and am seeing this query getting executed on every page request. QUERY = u'SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username",…
station
  • 6,715
  • 14
  • 55
  • 89
0
votes
1 answer

zc buildout version conflict. django 1.3 but requires 1.4.2 for django-debug-toolbar

I'm trying to do a buildout. Project is ran on django 1.3. When I try to do buildout I get this error: Installing django. While: Installing django. Error: There is a version conflict. We already have: Django 1.3 but django-debug-toolbar 1.2.1…
Marijus
  • 4,195
  • 15
  • 52
  • 87
1 2 3
14
15