Add fields to be used for grading

This commit is contained in:
Paul committed 2014-06-04 15:53:47 +02:00
1 parent 5ee6829e22
commit 6fc0270950
1 file changed
+4
+4
View File
@@ -7,6 +7,10 @@ class Answer(models.Model):
question = models.CharField(max_length=128)
string = models.TextField()
# Feedback
points = models.IntegerField(null=True)
comment = models.TextField(null=True)
class Meta:
unique_together = ('user', 'question')