1👍
First of all, thank you all for your help 🙂
I had made previously a custom verbatim template tag to use for django 1.4, and as Alasdair pointed out, a default verbatim tag was added to django 1.5… something which i never noticed.
With that being said, in my development server (which is running django 1.5) was using the django verbatim template tag… while the other server (which is running django 1.4) was using my custom template tag.
About the firebug error. It was thrown because of wrong spacing between tokens.
Django 1.5 verbatim tag would render {% } %}
and my custom template tag would render {%}%}
.
So i just added the correct spacing in my custom template tag and problem was solved.
0👍
If you are trying to use verbatim
, just use
{% verbatim %}
#Your codes which may affect django template syntax
{% endverbatim %}
No need of {% load verbatim %}
- Django Form csrf_token
- Django – Limiting the amount of objects created to 3 and being able to update them.
- Django Admin form – How to override MultiSelectField class?
- Post group name with the multiple device selected