On Mon, Nov 15, 2010 at 5:01 PM, DD <ela...@gmail.com> wrote:
> 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?

Hi,

Two quick points:

Firstly, cross posting the same question to two mailing lists isn't
good etiquette. Find the right location, and post it once.

Secondly, this isn't the right mailing list. Django-developers is for
discussing the development of Django itself. Django-users is the right
location for general user enquiries.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to