I try to pass a template variable to a tag as parameter, not sure how
it works.
For instance
in template html
{{ question.author_id }}
{% monetize_slot question.author_id "questioner" %}
Here I can see the webpage show question.author_id as "2", but when I
try to pass it via the tag monetize_slot, it treat it as a static
string "question.author_id", not a dynamic value 2. Does anyone find a
solution for this here?
Thanks,
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.