On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote: > I have another loop above that displays upcoming shows. Is it possible > to have two object lists, one of upcoming and one of past shows be > passed to the template?
A view can pass any number of variables it wants to, with any legal Python values it wants to, so yeah. > I understand your philosophy of separating presentation and logic, but > even in your there you say that the templates contain "presentation and > presentation-related logic." Declaring a variable for this case seems > like pretty standard presenation-related logic. Not really; templates decide _how_ to present, views decide _what_ to present. Whether there are objects with a particular attribute or value is something that belongs in the "what to present" part of things. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---