I did get it to work! Simple syntax error.
{% verbatim mycode%}
something
{% endverbatim mycode %}
Thanks!
On Friday, July 3, 2015 at 2:34:27 PM UTC-4, automo...@gmail.com wrote:
I'm only using 1 set :(. I will keep at it and also look at django-angular
(thanks for the link!) and report
Having issues getting the Django template tag {% verbatim %} to work with
AngularJS on my Mezzanine site.
Here is my code:
{%verbatim myblock%}
{%verbatim%}{{some text}}{%endverbatim%}
{%endverbatim myblock%}
The verbatim tags show up on the rendered html. What am I doing wrong or
How many verbatim tags are you using? You should wrap the whole block of
Angular template tags in a single set of verbatim tags to turn off
Django template rendering for that part only.
Also, have you tried out django-angular to integrate both frameworks? It
provides a bunch of utilities that
I'm only using 1 set :(. I will keep at it and also look at django-angular
(thanks for the link!) and report back here if I can get this working.
On Friday, July 3, 2015 at 12:58:10 PM UTC-4, Eduardo Rivas wrote:
How many verbatim tags are you using? You should wrap the whole block of
If you're already defining a verbatim block there's no need to wrap
stuff in verbatim tags inside it.
|
{%verbatim myblock%}
{{some text}}
{%endverbatim myblock%}
|
--
You received this message because you are subscribed to the Google Groups Mezzanine
Users group.
To unsubscribe from this
Thanks for the quick reply. I did it that because that is how the example
was on the Django docs page. I tried it this way too and still doesn't
work, verbatim tags are still being rendered in the html :(
Any other suggestions, the only other thing I can think is to make a custom
Angular