Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug toolbar #1018

Closed
kardan opened this issue Jan 8, 2015 · 4 comments
Closed

Enable debug toolbar #1018

kardan opened this issue Jan 8, 2015 · 4 comments
Assignees
Labels
Milestone

Comments

@kardan
Copy link
Contributor

kardan commented Jan 8, 2015

The Django debug toolbar is really useful. We should enable usage by installing the app and document how to enable it while developing.

@kardan
Copy link
Contributor Author

kardan commented Jan 8, 2015

My local conf looks like this:

if DEBUG:
   INTERNAL_IPS = ('127.0.0.1', '0.0.0.0', '192.168.50.101', '10.0.2.15')
   MIDDLEWARE_CLASSES += (
        'debug_toolbar.middleware.DebugToolbarMiddleware',
        )
   INSTALLED_APPS += (
        'debug_toolbar',
        )

@kardan
Copy link
Contributor Author

kardan commented Jan 8, 2015

Besides this we should add django-debug-toolbar to requirements

@kardan
Copy link
Contributor Author

kardan commented Mar 16, 2015

After some usage we realised that the DDT is a bit slow so better to disable by default and provide commented out settings - so it's easy to enable.

@KasperBrandt
Copy link
Contributor

Test plan

GIVEN the Vagrant environment
WHEN a new box is setup
THEN the local config file should contain a commented out section for the Django debug toolbar

@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants