I’m getting templatesyntax error, invalid block on line 66: ‘static’ ; did you forget to register or load this tag.
What am I doing wrong?
I have tried to delete and create the html file again but same error. It only happens in one of my files, others are working well
>Solution :
Could you please check the template raising this error and see if you have the {% load static %} tag at the top of template, before any {% static %} tags. This tag is necessary for using static template tags in Django templates.
<!-- template_raising_error.html -->
{% load static %}
<!-- Your HTML code -->