📅  最后修改于: 2022-03-11 14:46:30.077000             🧑  作者: Mango
# 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."""