Adding docstring to CertificateWhitelist model

This commit is contained in:
John Jarvis
2013-01-29 10:26:21 -05:00
parent 415ebec879
commit 4b0999939b

View File

@@ -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)