On Wednesday 14 June 2006 13:50, opendev wrote: > Hello, > > I am trying to render the output of multiple generic views under one > template. Is this possible and if so how? The include tag renders > only a template and cannot be used for the output of an entire view > afaik.
The output of a view is always an HttpResponse object (which will usually contain an HTML document). Since there is no simple way of combining HttpResponse objects or the HTML documents they contain, the answer to the question is no. You will have to write your own view function to do this. Also, you may have to modify your templates to refactor out the bit that can be included into other templates. Luke -- A dyslexic agnostic doesn't believe in Dog Luke Plant || L.Plant.98 (at) cantab.net || http://lukeplant.me.uk/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---