Commit e263b33f by Joe Blaylock

Merge pull request #2227 from edx/jrbl/fix_cert_whitelist_report

Certs - bugfix cert_whitelist output
parents 6a2fbf71 300501b1
......@@ -67,7 +67,7 @@ class Command(BaseCommand):
cert_whitelist.whitelist = False
cert_whitelist.save()
whitelist = CertificateWhitelist.objects.all()
whitelist = CertificateWhitelist.objects.filter(course_id=course_id)
print "User whitelist for course {0}:\n{1}".format(course_id,
'\n'.join(["{0} {1} {2}".format(
u.user.username, u.user.email, u.whitelist)
......
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