Wow, that worked, thank you! I thought I had tried everything. I was
able to loop child items on the UI template with {% for item in
mymembers.products_set.all %} ...
On Oct 6, 9:54 pm, hcarvalhoalves wrote:
> On 7 out, 01:23, robinne wrote:
>
> > I have my model setup with foreign key relation
On 7 out, 01:23, robinne wrote:
> I have my model setup with foreign key relationships. I can read one
> table's data to the UI. But I cannot figure out how to read child
> records onto template. I know it is (in the case of Blog, Author, and
> Entry) b.entry_set.all(). But I don't know where thi
I have my model setup with foreign key relationships. I can read one
table's data to the UI. But I cannot figure out how to read child
records onto template. I know it is (in the case of Blog, Author, and
Entry) b.entry_set.all(). But I don't know where this code goes. It
won't work in the templat
3 matches
Mail list logo