Answers for "djangodebug toolbar not showing"

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

Python Answers by Framework

Browse Popular Code Answers by Language