Commit aa31af77 by sanfordstudent Committed by GitHub

Merge pull request #14809 from edx/sstudent/TNL-6696

use current()
parents a7ba52d8 e94513d0
......@@ -133,4 +133,4 @@ class Command(BaseCommand):
log.setLevel(log_level)
def _latest_settings(self):
return ComputeGradesSetting.objects.order_by('-id')[0]
return ComputeGradesSetting.current()
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