Re: templates: if and static tags incompatible?

2014-09-29 Thread Fred Stluka
The problem is that static is not being recognized as a valid Django tag. Add this line to the top of the template file to define it. {% load staticfiles %} --Fred Fred Stluka -- mailto:f...@bristle.com --

templates: if and static tags incompatible?

2014-09-29 Thread chansonsyiddish
Hello, I've got a small problem: here is the code in my template: {% if p.fleches %} %}" > {% endif %} and the django development server tells me: Django Version: 1.4.5 Exception Type: TemplateSyntaxError Exception Value: Invalid block tag: 'static', expected