On 12/7/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/7/06, Anton Daneika <[EMAIL PROTECTED]> wrote:
> > I want a page which displays both the details of an object and the list of
> > the objects. Is there a known way to combine generic views to produce such a
> > thing? The problem is that all generic views return HttpResponse which I
> > don't need in that case -- just the processing.
> > I suppose it's just not the use case of the generic views -- they are not
> > for this.
>
> Hi Anton,
>
> You suppose correctly. :) None of the generic views combine an "object
> detail" with "object list."

But it's very easy to pass in the object list as 'extra_context' to
the generic view, which I think people sometimes forget about.

Jay P.

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to