Re: combining unrelated tables

2008-07-01 Thread Shane McNamee
when i try doing that i get a really weird error, but i was doing it like "render_to_response('Template.html', {'first_qs': Model1.objects.all()}, {'second_qs':Model2.objects.all()})", with the {} around each one, so hopefully i just had wrong syntax. ill try it like u said. thanks for the help -S

Re: combining unrelated tables

2008-07-01 Thread Richard Dahl
Not sure exactly where you are going, but what do you mean by ' Inside views.py it only lets me send 1 queryset to the template' why can't you do something like: render_to_response('Template.html', {'first_qs': Model1.objects.all(), 'second_qs':Model2.objects.all()}) -richard On 7/1/08, Shane