During setup for local development, I encountered a Template Syntax error when visiting any page other than the landing page. It said:
TemplateSyntaxError at /login/
Invalid block tag on line 6: 'static'. Did you forget to register or load this tag?
The error occurs in the global_nav.html template because a static image is being loaded in and {% load static %} hasn't been called yet. Once I load the static template tag, everything works as expected. I've made a small pull request for this issue
What should have happened?
I should be able to view other pages in the project.
Description
During setup for local development, I encountered a Template Syntax error when visiting any page other than the landing page. It said:
TemplateSyntaxError at /login/ Invalid block tag on line 6: 'static'. Did you forget to register or load this tag?
The error occurs in the global_nav.html template because a static image is being loaded in and {% load static %} hasn't been called yet. Once I load the static template tag, everything works as expected. I've made a small pull request for this issue
What should have happened?
I should be able to view other pages in the project.
What browser(s) are you seeing the problem on?
Not applicable
Further details