Commit 900d427
fix: guard debug_toolbar import in urls.py
The DEBUG flag is True by default in base settings, but debug_toolbar
may not be installed (e.g. in CI). Guard the import to prevent
ModuleNotFoundError when running without dev extras.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1b9afc1 commit 900d427
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
0 commit comments