X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Feventmanager.git;a=blobdiff_plain;f=views.py;fp=views.py;h=5c0a8e4d271d4b9896e41ec29af134024169cf6f;hp=f5de3571f291ddae266db653b0792b10f547fbde;hb=62a37794a76887e5326d9aa6314bc5208b9cc463;hpb=dfd75ed82df84034d3e35ac55bf058a7f84118db diff --git a/views.py b/views.py index f5de357..5c0a8e4 100644 --- a/views.py +++ b/views.py @@ -421,7 +421,7 @@ def dados_palestra(request, codigo): @enable_login_form def programacao(request): try: - d = {'aprovadas': Trabalho.objects.filter(aprovado=True).order_by('dia','time_start')} + d = {'aprovadas': Trabalho.objects.filter(aprovado=True).order_by('dia', 'time_start', 'room')} except ObjectDoesNotExist: d = {} return build_response(request, 'programacao.html',d) @@ -430,7 +430,7 @@ def programacao(request): @staff_member_required def grade(request): try: - d = {'aprovadas': Trabalho.objects.filter(aprovado=True).order_by('dia', 'time_start')} + d = {'aprovadas': Trabalho.objects.filter(aprovado=True).order_by('dia', 'time_start', 'room')} except ObjectDoesNotExist: d = {} return build_response(request, 'grade.html', d)