Git Product home page Git Product logo

Comments (5)

alex avatar alex commented on August 19, 2024

No, it's not you. The issue is flatpages use a middleware to catch a 404 and see if there's a flatpage for that URL. Other middlewares (read: debug toolbar middleware) isn't run on the resulting response. A variation of this is tracked in Django http://code.djangoproject.com/ticket/6094

from django-debug-toolbar.

kmike avatar kmike commented on August 19, 2024

I am able to see django debug panel even on flatpages. Maybe the issue is with middleware order? DebugToolbarMiddleware should be before FlatpageFallbackMiddleware as any other middleware. It is easy to oversight this if some variation of "local_settings.py" pattern is used.

from django-debug-toolbar.

dartdog avatar dartdog commented on August 19, 2024

Big help, Put the Django toolbar in 1st on Middlewareclasses, now it works fine all over

from django-debug-toolbar.

robhudson avatar robhudson commented on August 19, 2024

Thanks all! I should probably add a note to the README (and future Sphinx docs) on this issue. So for now I'll leave this open.

from django-debug-toolbar.

robhudson avatar robhudson commented on August 19, 2024

Documented.

from django-debug-toolbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.