Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6054147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:07:13+00:00 2026-05-23T08:07:13+00:00

I have a Django webapp. I have installed the debug_toolbar middleware and module. However,

  • 0

I have a Django webapp. I have installed the debug_toolbar middleware and module.
However, my webapps don’t have the debug toolbar pull-out.

How do I actually see the debug toolbar? Is there something more I need to do?
Do I need to use a particular template for my webapp? I have followed all the steps in the README, but that is not enough — there seems to be some other dependency, or something else I’m missing.

Also, when looking at the set of URL patterns for my webapp, the debug prefix is not found among the recognized patterns. I’ve put a log in urls.py in debug_toolbar to make sure that modules is getting loaded by the activated debug_toolbar application, and it is.

This has me totally mystified, and I can find no Google or README on what to do to make this actually show up, or what the requirements are, so any pointer you can provide would be great!

Edit: It turns out, I was testing this with a SSH tunnel from the machine running the browser to the machine running the Django/Apache. In this case, the IP address actually seen for the remote machine was not what I thought it was, so the list of “good” IPs did not contain the browser’s apparent remote machine. Fixing that fixed the problem!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:07:14+00:00Added an answer on May 23, 2026 at 8:07 am
    1. As I know your HTML page must contain closed body tag, meta tag with content="text/html".

    2. I prefer the way when all debug-toolbar’s settings separed from main settings. So try put in the end of settings.py something like

      #debug_toolbar settings
      if DEBUG:
          INTERNAL_IPS = ('127.0.0.1',)
          MIDDLEWARE_CLASSES += (
              'debug_toolbar.middleware.DebugToolbarMiddleware',
          )
      
          INSTALLED_APPS += (
              'debug_toolbar',
          )
      
          DEBUG_TOOLBAR_PANELS = [
              'debug_toolbar.panels.versions.VersionsPanel',
              'debug_toolbar.panels.timer.TimerPanel',
              'debug_toolbar.panels.settings.SettingsPanel',
              'debug_toolbar.panels.headers.HeadersPanel',
              'debug_toolbar.panels.request.RequestPanel',
              'debug_toolbar.panels.sql.SQLPanel',
              'debug_toolbar.panels.staticfiles.StaticFilesPanel',
              'debug_toolbar.panels.templates.TemplatesPanel',
              'debug_toolbar.panels.cache.CachePanel',
              'debug_toolbar.panels.signals.SignalsPanel',
              'debug_toolbar.panels.logging.LoggingPanel',
              'debug_toolbar.panels.redirects.RedirectsPanel',
          ]
      
          DEBUG_TOOLBAR_CONFIG = {
              'INTERCEPT_REDIRECTS': False,
          }
      

    (Edit note: lapis updated the configs above to match the names used by the current (at the time of this update, 1.3.2) version of the Django Debug Toolbar. Per http://django-debug-toolbar.readthedocs.org/en/0.10.0/panels.html, the original versions (that used e.g. debug_toolbar.panels.sql.SQLDebugPanel vs debug_toolbar.panels.sql.SQLPanel as in 1.3.2) were correct when this question was original answered.)

    (note: after Django 1.10, MIDDLEWARE_CLASSES should be MIDDLEWARE.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Django webapp that has both a front-end, web-accessible component and an
I had the following idea: Say we have a webapp written using django which
I have a version controlled project located at ~/webapps/django/myproject and media files located at
In my Django webapp, I have a user submit data to Form1.html. The data
I have a simple webapp in Django for an iPhone app. I want to
I maintain a Django webapp for a client of mine. We built it out
folks, I have the directory structure like this: webapps |-- static_media |-- django |---project
I have installed my django application on one of my subdomains .. subdomain1.mydomain.com using
I have a Django-based webapp that is using PostgreSQL as the backend via psycopg2.
I have Django running in Apache via mod_wsgi. I believe Django is caching my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.