diff options
author | prathamesh | 2021-03-24 15:52:35 +0530 |
---|---|---|
committer | prathamesh | 2021-03-24 15:52:35 +0530 |
commit | 04684f6c636ed827a8ff029a8c0d9b7755096599 (patch) | |
tree | 3b15ae27d9c6e6599fe8025ebc95075fb253c58a /yaksh/models.py | |
parent | 0d2046dfd7d9ce5e7da1d36b6cc26806001f49cc (diff) | |
download | online_test-04684f6c636ed827a8ff029a8c0d9b7755096599.tar.gz online_test-04684f6c636ed827a8ff029a8c0d9b7755096599.tar.bz2 online_test-04684f6c636ed827a8ff029a8c0d9b7755096599.zip |
Modify upload question UI and change NullBooleanField to BooleanField
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 9f34ade..8f9f051 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -2269,7 +2269,7 @@ class AnswerPaper(models.Model): percent = models.FloatField(null=True, default=0.0) # Result of the quiz, True if student passes the exam. - passed = models.NullBooleanField() + passed = models.BooleanField(null=True) # Status of the quiz attempt status = models.CharField( |