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
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
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(
3 matches
Mail list logo