pre refactor exam_user_status
This commit is contained in:
@@ -1384,6 +1384,11 @@ def get_next_cid():
|
||||
|
||||
|
||||
class CidUserExam(models.Model):
|
||||
"""This holds the current status of the exam for a candidate
|
||||
|
||||
Contrast with ExamUserStatus which holds the status changes for a candidate
|
||||
(and should be merged into here)
|
||||
"""
|
||||
content_type = models.ForeignKey(ContentType, on_delete=models.CASCADE)
|
||||
object_id = models.PositiveIntegerField()
|
||||
exam = GenericForeignKey("content_type", "object_id")
|
||||
|
||||
Reference in New Issue
Block a user