Commit 1f976d83 by Diana Huang

Add new app_label to ScoreAnnotation.

parent 39a8d140
......@@ -302,10 +302,13 @@ class ScoreSummary(models.Model):
class ScoreAnnotation(models.Model):
""" Annotate individual scores with extra information if necessary. """
class Meta:
app_label = "submissions"
score = models.ForeignKey(Score)
# A string that will represent the 'type' of annotation,
# e.g. staff_override, etc.
annotation_type = models.CharField(max_length=255, blank=False, db_index=True)
creator = AnonymizedUserIDField()
reason = models.TextField()
\ No newline at end of file
reason = models.TextField()
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