Skip to content

Commit

Permalink
Add new app_label to ScoreAnnotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakhuang committed Nov 20, 2015
1 parent 39a8d14 commit 1f976d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion submissions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,13 @@ def update_score_summary(sender, **kwargs):
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()
reason = models.TextField()

0 comments on commit 1f976d8

Please sign in to comment.