'Identify the list of StudentModule objects that might need fixing, and then fix each one'

def fix_studentmodules(self, save_changes):

    modules = StudentModule.objects.filter(modified__gt='2013-03-07    20:18:00', created__lt='2013-03-08    15:45:00', state__contains='"npoints":    0.')
    for module in modules:
        self.fix_studentmodule_grade(module, save_changes)
