티스토리 뷰
728x90
반응형
- TemplateSyntaxError at / 'staticfiles' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls cache i18n l10n log static tz |
위 오류는 DJango 3.0버전에서부터 {% load staticfiles %} 기능이 삭제되어 뜨는 오류이다.
그 이전에는 {% load static %} 과 {% load staticfiles %} 기능 둘 다 가능하였는데,
두 기능이 유사해서 {% load static %} 기능으로 통합한 것이라고 한다
{% load staticfiles %} 를 {% load static %} 로 고치면 오류해결!
728x90
반응형
'프로그래밍 > Python' 카테고리의 다른 글
파이썬 Scripts 설치경로 (0) | 2021.04.20 |
---|---|
[oracleDB] python cx_Oracle 오라클DB 연결 (0) | 2021.04.14 |
[mongoDB] pymongo db.collection.find() 검색조건 (0) | 2021.04.14 |
[Django] 장고 튜토리얼 1. 장고 시작하기 (0) | 2021.03.29 |
[pymongo] pymongo MongoClient 데이터베이스, 컬렉션명 출력하기 (0) | 2021.03.21 |
댓글