Django debug toolbar проблема со скриптом неудачной загрузки модуля

Я установил djang-debug-toolbar, но он не отображается в консоли разработчика chrome, он выдает следующую ошибку.

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
  1. Я установил pip django debug toolbar с помощью pip в pycharm

  2. Я изменил настройки в settings.py enter image description here

  3. Также я изменил urls.py в папке проекта

enter image description here

  1. Я зашел в реестр windows, чтобы проверить HKEY_CLASSES_ROOT\.js\Content Type from text/plain to но там нет папки Content Type под папкой .js enter image description here

Есть подсказки?

Вам нужен ключ 'Content Type' в папке '.js'. Смотрите скриншот

Вернуться на верх