Я новичок в Django и работал над приложением Django. И я использовал папку «media», чтобы хранить файлы CSS и JavaScript (я знаю, что это не очень хорошая практика), но это работало. Несколько строк кода
Код: Выделить всё

.
After clicking on the link present in error it displays my javascript file but not executing it.
And the most weired thing is that when i executed the same file in other system(also on local host) after transferring the same folder then it is working, no any such error in console. And the same project(website) is also hosted on internet and when i open that site online in my system again then also no any such error.
However when i replace
Код: Выделить всё
Код: Выделить всё
I don't think there is any problem with browser setting because i checked in 3 different browsers but it is showing same thing.
Any suggestion how to solve this issue and how to disable mime type checking ?
Источник: https://stackoverflow.com/questions/617 ... om-url-its