From 4b0999939b5226fbc74660f6444be5be6c10f643 Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Tue, 29 Jan 2013 10:26:21 -0500 Subject: [PATCH] Adding docstring to CertificateWhitelist model --- lms/djangoapps/certificates/models.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lms/djangoapps/certificates/models.py b/lms/djangoapps/certificates/models.py index 02e8ab0c5f..334200d348 100644 --- a/lms/djangoapps/certificates/models.py +++ b/lms/djangoapps/certificates/models.py @@ -50,6 +50,13 @@ class CertificateStatuses(object): error = 'error' class CertificateWhitelist(models.Model): + """ + Tracks students who are whitelisted, all users + in this table will always qualify for a certificate + regardless of their grade unless they are on the + embargoed country restriction list + (allow_certificate set to False in userprofile). + """ user = models.ForeignKey(User) course_id = models.CharField(max_length=255, blank=True, default='') whitelist = models.BooleanField(default=0)