probably implicit conversion.

On Jan 6, 2013, at 11:05 PM, Sef Kloninger <notifications@github.com> wrote:

> In main/courses/exams/views.py:
> 
> > +def update_score(course, exam, student, student_input, field_name, graded_obj):
> > +    """
> > +    The ExamRecord table stores the cumulative score for this problem
> > +    set, exercise, etc.  Update this table for things graded
> > +    problem-by-problem (interactive exercises, in-video exercises)
> > +    with the score for this problem.
> > +
> > +    By convention these types of exercises are never complete, ie.
> > +    there is never a final score.  Score here is more of a running
> > +    tally of plus and minus points accrued.
> > +    """
> > +    (exam_rec, created) = ExamRecord.objects.get_or_create(
> > +            course=course, 
> > +            exam=exam, 
> > +            student=student,
> > +            defaults={'score':0.0, 'json_data':{}, 'json_score_data':{}})
> Sigh, you're right, thanks. Wonder why it still worked though?
> 
> —
> Reply to this email directly or view it on GitHub.
> 
>