Re: Separate QuerySet into different lists inside templates

2009-07-16 Thread Streamweaver
Why do it inside the template? Do it inside the view and pass each resultant queryset to the template. On Jul 16, 1:59 am, ZebraShaSha wrote: > This seems like a simple question, but it's been bugging me for days > now. I have two models, Events and Categories, where Events has a FKF > to Categ

Separate QuerySet into different lists inside templates

2009-07-15 Thread ZebraShaSha
This seems like a simple question, but it's been bugging me for days now. I have two models, Events and Categories, where Events has a FKF to Categories. I'm using django-Agenda, an add-on that I've modified with the categories model, so all the views/urls are perfect in every other way except the