Ahh...never mind!

I tried doing a {% for S.M %}

that didn't work, but {% for S.M.all %} did

thanks for being my sounding board...


On Apr 10, 10:38 pm, Anthony <alantho...@gmail.com> wrote:
> Hello,
>
> I'm passing queryset 'S' to a template.  S has several attributes, M,
> N and O.
>
> M has a one-to-many relationship with T.  I need to display:
>
> N, O, T^1, T^2 through T^n, etc. (the T list would be a filtered
> subset)
>
> Can this be done via template tags?  (Will I have to make custom
> ones?)  At the moment, I'm considering breaking out the T^x values in
> the view, then building a dictionary of tuples to pass them into the
> template.  However, it would seem more natural to me to be able to de-
> reference the T values directly from the template.
>
> Thanks,
> Anthony
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to