sorry i was not clear. i am using django's generic views
infrastructure. django.views.generic.list_detail.object_detail

http://www.djangoproject.com/documentation/generic_views/#django-views-generic-list-detail-object-list

konstantin

On Sep 15, 8:06 pm, r_f_d <[EMAIL PROTECTED]> wrote:
> are you using django Generic Views or are you using the word to imply
> non-special views (i.e. you have a number of views just like this.)
> -richard
>
> On Sep 15, 6:38 pm, akonsu <[EMAIL PROTECTED]> wrote:
>
>
>
> > his is my understanding of the problem:
>
> > there are two genric views: list view and detail view. the template
> > invoked from the former gets the queryset in the context, and the
> > template invoked from the latter gets the object in the context. note
> > that the latter does not get the queryset, just a single object. in
> > the detail template i do not kow which queryset the list is dealing
> > with, i just know which object i need to display. i am lookng for a
> > way to get three objects in my detail template: the current one that i
> > need to show, the previous one in the order of the queryset (whatever
> > this order might be), and the next one (if they exist). so far django
> > gives my template just the current object when my detail template is
> > called.
>
> > konstantin- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
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