TemplateSyntaxError
Invalid block tag on line 17: 'end', expected 'elif', 'else' or 'endif'. Did you forget to register or load this tag?
An unhandled exception occurred on line 17
14 |
|
---|---|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
Solution
Wrote {% end if %} instead of {% endif %}
Apr 22, 2021
•
Anyone
Install the browser extension
Found this solution helpful? Try our extension for quick solutions to your Django errors.
Add to Chrome - It's free
0 replies