Re: View returns no queryset

2009-11-29 Thread Daniel Roseman
On Nov 28, 11:15 pm, "R. Gorman" wrote: > I've got a real stumper. Well, a stumper for me; I'm hoping someone > has some insight. Here's the view I'm calling: > > >     games = Game.objects.all() >     return render_to_response('season_schedule.html', > {games:"object_list"},context_instance = Re

Re: View returns no queryset

2009-11-29 Thread John M
I suspect that the query isn't being executed, cause you're not accessing any elements? have you tried to print games and see what comes out? passing {games:"object_list"} seems like it should make sense, but since I'm not an expert on Python or django, I'd imagine that the "object_list" isn't be

View returns no queryset

2009-11-28 Thread R. Gorman
I've got a real stumper. Well, a stumper for me; I'm hoping someone has some insight. Here's the view I'm calling: def season_schedule_month(request, league_slug, year, month): """Given a league slug, retrieve the season's schedule month by month. return date_based.archive_month(