Skip to content

What are drawbacks of having debug toolbar in production settings ? #1435

Open
@JocelynDelalande

Description

@JocelynDelalande

INTERNAL_IPS or DEBUG=False being not set means DDT is disabled… Or at least out of sight.

But I am wondering what are actual (performance or security) drawbacks of having DDT listed in INSTALLED_APPS and MIDDLEWARE settings when INTERNAL_IPS is not set and DEBUG=False.

In other words : How far DDT is to being a no-op when DEBUG=False and INTERNAL_IPS is not set ?

Asking because it can be handy to have same INSTALLED_APPS and MIDDLEWARE settings for dev/prod and vary only on DEBUG and INTERNAL_IPS ; it offers simpler settings management and the ability to enable it temporarily (ex: on test/pre-production server).

Thanks by advance for your input :)

Oh and thanks for that great piece of software that rocks jazzes !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions