Commit 2e91a1d7 by Bridger Maxwell

Removed debug code that put in a score for midterm and final.

parent baac1eb8
...@@ -137,11 +137,13 @@ def profile(request): ...@@ -137,11 +137,13 @@ def profile(request):
lab_percentages.append( {'percentage': percentage, 'summary': summary} ) lab_percentages.append( {'percentage': percentage, 'summary': summary} )
lab_total, lab_dropped_indices = totalWithDrops(lab_percentages, 2) lab_total, lab_dropped_indices = totalWithDrops(lab_percentages, 2)
midterm_score = (120, 150)
midterm_percentage = midterm_score[0] / float(midterm_score[1])
final_score = (200, 300) #TODO: Pull this data about the midterm and final from the databse. It should be exactly similar to above, but we aren't sure how exams will be done yet.
final_percentage = final_score[0] / float(final_score[1]) midterm_score = ('?', '?')
midterm_percentage = 0
final_score = ('?', '?')
final_percentage = 0
grade_summary = [ grade_summary = [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment