Permalink
Browse files

Fixed report card variables

  • Loading branch information...
1 parent 0b83a56 commit ea93e7e2fe72c3c4e9ade0175aba122d93d9ef12 @thedjpetersen committed Jun 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 transcript/views.py
View
4 transcript/views.py
@@ -12,7 +12,7 @@ def index(request):
def report_card(request):
regclass = request.session['regclass']
- transcript = regclass.transcript.sort_by_term()
- grade_distribution = tr.grade_distribution()
+ transcript = regclass.transcript
+ grade_distribution = transcript.grade_distribution()
term_groups = transcript.group_by_term()
return render_to_response('transcript/report_card.html' ,{'grade_distribution':grade_distribution, 'term_groups':term_groups})

0 comments on commit ea93e7e

Please sign in to comment.