debug tool bar not showing up in Production
See original GitHub issueI have a setup in public cloud, NGINX + GUNICORN + Django, I have followed all steps in official documents to install django-debug-toolbar
, and have below configs in settings.py
:
DEBUG = True
def show_toolbar(request):
return True
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': 'project_name.settings.show_toolbar',
}
I also tried to set INTERNAL_IPS
to public accessible address of my django server.
django-debug-toolbar
never shows up. anything I missed out ?
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
django-debug-toolbar not showing up - Stack Overflow
What is DEBUG set to? It won't load unless it's True . If it's still not working, try adding '127.0.0.1' to INTERNAL_IPS as...
Read more >Django Debug Toolbar, not showing/appearing, Fix it & Bring ...
The Debug Toolbar should have appeared only in Debug mode. So, the rest of the settings will be for DEBUG mode only. #...
Read more >Django Debug Toolbar not showing up
My Django Debug Toolbar is not showing up. ... Share your installed apps, middleware, toolbar settings, and whether the toolbar is being ...
Read more >Configuration — Django Debug Toolbar 3.8.1 documentation
The debug toolbar ships with a default configuration that is considered sane for the vast majority of Django projects. Don't copy-paste blindly the...
Read more >Troubleshooting Problems (Symfony 5.4 Docs)
Linked files are not limited to exceptions. For instance, the controller in the web debug toolbar becomes clickable after configuring the IDE. Debugging...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maybe your customized HTML template does not contain a
</body>
string? This string is used to find the insertion point for the toolbar, see https://github.com/jazzband/django-debug-toolbar/blob/bf785130d5c60e4c269be154d231775d02008801/debug_toolbar/settings.py#L13strongly agree and completely understandable. my website is deployed with
Production
setup but not officially released yet, so I can still play with it.