Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- devops
- Transit Gateway
- debug toolbar
- MongoDB
- Spark
- AI
- list
- VPC
- pyspark
- debug_toolbar
- git
- ubuntu
- Python
- json
- django-debug-toolbar
- AWSKRUG
- AWS
- nosql
- tgw
- Eclipse
- coding with ai
- SCALA APP
- mcponaws
- 툴바안뜸
- django
- ai assistant
- Amazon
- amazon q
Archives
- Today
- Total
STACKBASE
[Django] debug toolbar 오류 Fix 본문
반응형
django-debug-toolbar를 설치하고 설정까지 완료하였는데 css,js 파일을 못찾겠다라는
오류가 뜨고, 크롬 개발자 모드에서 봤을때
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. 레지스트리 편집기 > 컴퓨터\HKEY_CLASSES_ROOT.js > Content Type > 값 데이터
> text/plain 에서 text/javascript 으로 변경

2. 크롬브라우저 쿠키 및 기타 브라우저 데이터삭제

반응형
'프로그래밍 > Django' 카테고리의 다른 글
| [Django] 장고 쉘! (0) | 2022.02.21 |
|---|---|
| [Django] admin을 통한 데이터 관리 (0) | 2022.02.17 |
| [Django] 장고 소개 (0) | 2022.02.16 |
| [Django] debug toolbar 설치 (0) | 2022.01.28 |