Skip to content

Add Django Debug Toolbar as a dev dependency #881

@calumbell

Description

@calumbell

Is your feature request related to a problem? Please describe.
On several occasions I have been able to to diagnose N+1 errors on the API using the Django Debug Toolbar. It has been a really helpful tool and I think it would be well worth adding

Describe the solution you'd like
Install Django Debug Toolbar as a development dependency

Describe alternatives you've considered
So far, I have been installing/uninstalling DDT on my local fork whenever I need it. There is a lot of friction involved here, and I thinking developers would be better served with having it already configured.

Additional context
Initial tests have shown that the toolbar is disengaged when the DEBUG settings flag is set to off. Additional care should be taken to ensure that DDT is completely disengaged during production to avoid leaking any data.

Metadata

Metadata

Assignees

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