migrate rapids
This commit is contained in:
@@ -13,8 +13,6 @@ from django.urls import reverse
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
from sortedm2m.fields import SortedManyToManyField
|
||||
|
||||
import string
|
||||
|
||||
from generic.models import CidUser, CidUserGroup, ExamCollection, ExamUserStatus, Examination, ExamBase, QuestionBase, QuestionNote, UserAnswerBase, UserUserGroup, Modality
|
||||
@@ -374,9 +372,6 @@ class ExamQuestionDetail(models.Model):
|
||||
class Exam(ExamBase):
|
||||
app_name = "anatomy"
|
||||
|
||||
#exam_questions = SortedManyToManyField(
|
||||
# AnatomyQuestion, related_name="exams", blank="true"
|
||||
#)
|
||||
exam_questions = models.ManyToManyField("AnatomyQuestion", through=ExamQuestionDetail, related_name="exams")
|
||||
time_limit = models.IntegerField(
|
||||
help_text="Exam time limit (in seconds)", default=5400
|
||||
|
||||
Reference in New Issue
Block a user