DEV Community

Rakib Hasan
Rakib Hasan

Posted on

Following the whole installation process properly, still django debug tool is not working?

First of all don't get frustrated. Still now, Everythig is ok! Open the console of your browser and if you show the Following error -

Loading module from “http://127.0.0.1:8000/static/debug_toolbar/js/toolbar.js” was blocked because of a disallowed MIME type (“text/plain”).
Enter fullscreen mode Exit fullscreen mode

then just add this two line anywhere in your settings.py file

import mimetypes
mimetypes.add_type("application/javascript", ".js", True)
Enter fullscreen mode Exit fullscreen mode

Now restart the app and start coding!
Enjoy!

Top comments (0)