-
Django error 해결법 : TemplateSyntaxError at /'staticfiles' is not a registered tag library. Must be one ofError Handling 2020. 3. 9. 21:39반응형
Django 에러 :
TemplateSyntaxError at /'staticfiles' is not a registered tag library. Must be one of
해결법
장고 버젼이 3.0 버전에서는 더이상 아래 문법을 사용하지 않는다.
{% load staticfiles %}
따라서 태그를 아래와 같이 바꿔준다.
{% load static %}
반응형'Error Handling' 카테고리의 다른 글