Answers for "Django Debug Toolbar always djdt-hidden"

3

django debug toolbar

$ python -m pip install django-debug-toolbar
Posted by: Guest on January-14-2021
0

djangodebug toolbar not showing

# in settings file
import mimetypes
mimetypes.add_type("application/javascript", ".js", True)

"""The main reason for not showing up the toolbar is because of the javascript mime-types error when you connect the debug_toolbar
If the already added to your application then just add two lines of code in your settings.py file."""
Posted by: Guest on May-03-2021

Code answers related to "Django Debug Toolbar always djdt-hidden"

Python Answers by Framework

Browse Popular Code Answers by Language