diff --git a/edxval/models.py b/edxval/models.py index 78d7ac68..72773398 100644 --- a/edxval/models.py +++ b/edxval/models.py @@ -73,6 +73,8 @@ class Profile(models.Model): The profile_name has a regex validator because in case this field will be used in a url. + + .. no_pii: """ profile_name = models.CharField( max_length=50, @@ -100,6 +102,8 @@ class Video(models.Model): Attributes: status: Used to keep track of the processing video as it goes through the video pipeline, e.g., "Uploading", "File Complete"... + + .. no_pii: """ created = models.DateTimeField(auto_now_add=True) edx_video_id = models.CharField( @@ -157,6 +161,8 @@ class CourseVideo(models.Model, ModelFactoryWithValidation): Every course-semester has a unique course_id. A video can be paired with multiple course_id's but each pair is unique together. + + .. no_pii: """ course_id = models.CharField(max_length=255) video = models.ForeignKey(Video, related_name='courses', on_delete=models.CASCADE) @@ -184,6 +190,8 @@ def __str__(self): class EncodedVideo(models.Model): """ Video/encoding pair + + .. no_pii: """ created = models.DateTimeField(auto_now_add=True) modified = models.DateTimeField(auto_now=True) @@ -300,6 +308,8 @@ def deconstruct(self): class VideoImage(TimeStampedModel): """ Image model for course video. + + .. no_pii: """ course_video = models.OneToOneField(CourseVideo, related_name="video_image", on_delete=models.CASCADE) image = CustomizableImageField() @@ -426,6 +436,8 @@ def deconstruct(self): class VideoTranscript(TimeStampedModel): """ Transcript for a video + + .. no_pii: """ video = models.ForeignKey(Video, related_name='video_transcripts', null=True, on_delete=models.CASCADE) transcript = CustomizableFileField() @@ -619,6 +631,8 @@ class ThreePlayTurnaround: class TranscriptPreference(TimeStampedModel): """ Third Party Transcript Preferences for a Course + + .. no_pii: """ course_id = models.CharField(verbose_name='Course ID', max_length=255, unique=True) provider = models.CharField( @@ -663,6 +677,8 @@ def __str__(self): class ThirdPartyTranscriptCredentialsState(TimeStampedModel): """ State of transcript credentials for a course organization + + .. no_pii: """ class Meta: