Add fields to be used for grading
This commit is contained in:
1 parent
5ee6829e22
commit
6fc0270950
1 file changed
+4
@@ -7,6 +7,10 @@ class Answer(models.Model):
|
|||||||
question = models.CharField(max_length=128)
|
question = models.CharField(max_length=128)
|
||||||
string = models.TextField()
|
string = models.TextField()
|
||||||
|
|
||||||
|
# Feedback
|
||||||
|
points = models.IntegerField(null=True)
|
||||||
|
comment = models.TextField(null=True)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
unique_together = ('user', 'question')
|
unique_together = ('user', 'question')
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user