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 wrote:
> Hello,
>
> I'm passing queryset 'S' to a template. S has several attributes, M,
> N and O.
>
> M has a one-to-many relation
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?)
2 matches
Mail list logo