Thanks for the reply.
That solution would involve the object_detail view for the folder,
right?
I am currently using that one, but pagination would be nice to use on
the media list, so I would rather get the object_list working.

I don't think I completely understand the queryset parameter. In the
tutorial the info_dict is built with something like
Polls.objects.all(). Is this query ever evaluated, because it would
seem a waste of ressources to select all objects just to get the
object_detail view to work?

It seems to me that I am missing something quite obvious.

regards, sean

Malcolm Tredinnick wrote:
> Inside your template, once you have a particular Folder instance (say,
> "object"), object.media_set.all() will retrieve what you want. Getting
> the list of folders in the queryset you pass to the generic view will
> therefore be enough: you can dive deeper on an instance-by-instance
> basis inside the template.
>
> Does that do what you want, or am I missing something?
> 
> Regards,
> Malcolm


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to