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

Provisionally import debug_toolbar urls iff DEBUG = True #1454

Merged
merged 1 commit into from
May 14, 2024

Conversation

dchiller
Copy link
Contributor

With #1429, we no longer install the django-debug-toolbar dependency in non-development environments. This means that we don't want to import debug_toolbar in our urls.py unless DEBUG = True. With this PR, the import of debug_toolbar in urls.py more closely matches how it is done in settings.py.

@dchiller dchiller requested a review from lucasmarchd01 May 14, 2024 15:10
@dchiller dchiller merged commit df58dad into DDMAL:develop May 14, 2024
@dchiller dchiller deleted the change-debug-toolbar-url-import branch May 14, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants