Re: iteration of object_list in generic detail view

2006-08-28 Thread Chris Long
You can do something like this: def extra_object_detail(...): context = {"next":nextObj, "previous":previousObj} return object_detail(..., extra_context=context) The generic view adds the extra_context parameter to the context so you can access it in your template. Chris --~--~---

iteration of object_list in generic detail view

2006-08-28 Thread kev~!
Ok, so I'm new and I'm having a problem with generic views and I can't seem to find any documentation on this. I have the detail_list view working as I want it, pulling everything in the database up and rendering it out as I want. When you go to view the detail of one object, tho, I can't seem to