Hi Bruce,
that makes sense. Does the django tag library include 'as' ? I have
changed that to:

{% for testimony in ads.random_testimonies %}
{{ testimony }}
{% endfor %}

which now works.

many thanks,
John

On Nov 13, 4:37 pm, "Bruce Kroeze" <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 13, 2008 at 6:57 AM, john <[EMAIL PROTECTED]> wrote:
>
> > Hi Guys,
> > I have set up django testimonials in my satchmo project store but cant
> > seem to get it to work. The only hint at how to use it in the
> > testimonials template tag code (apart of course from the code itself)
> > would be:
>
> > Sample usage:
>
> > {% TestimonialGroup key as ads %}
> > {% for tg.random_testimonies as testimony %}
> > {{ testimony }}
> > {% endfor %}
>
> What is your testimony group key?  That's what you are supposed to use
> there.
> For example, if you had a group of testimonies called "services", this would
> work:
>
> {% TestimonyGroup services as ads %}
> {% for ads.random_testimonies as testimony %}
> {{ testimony }}
> {% endfor %}
>
> --
> Bruce Kroezehttp://gosatchmo.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to