Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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."""
Source by imtipu.medium.com #
 
PREVIOUS NEXT
Tagged: #djangodebug #toolbar #showing
ADD COMMENT
Topic
Name
5+6 =