> > basically ....it does not evaluate de content of "{{audio_file}}".
The {{ varname }} syntax is only eval'd by the template engine itself,
not by templatetags.
>
> If I do this:
> {%if song %}
> {% load audioplayer %}
> {% audioplayer file=song %}
> {%endif%}
>
> it works...
> But i'm not sure why Django looks for the variable.
Because the 'audioplayer' templatetag do call back on the template API
to try and resolve this variable.
> I can't locate it in the documentation.
> Thanks
>
> Nuño
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment