'django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 85: 'translate', expected 'elif', 'else' or 'endif'. Did you forget to regis
Having issues with celery using django cookiecutter. I am getting
django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 85: 'translate', expected 'elif', 'else' or 'endif'. Did you forget to register or load this tag?
celery_app.py in config folder
[locale folder][2]
Solution 1:[1]
if you needany help you must add code so we can edit it.
this error It appears when you do not close the condition if
{%if condition%}
you html code
{%endif%}
you must read this link
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Zakaria Zhlat |
