diff options
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 839043f..aa65ad9 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -751,6 +751,8 @@ class Question(models.Model): min_time = models.IntegerField("time in minutes", default=0) + solution = models.TextField(blank=True) + def consolidate_answer_data(self, user_answer, user=None): question_data = {} metadata = {} |