fix a few sba related things
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 5.0.2 on 2024-08-28 17:22
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('sbas', '0013_alter_exam_markers'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='examquestiondetail',
|
||||
old_name='rapid',
|
||||
new_name='question',
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -159,7 +159,7 @@ class ExamQuestionDetail(models.Model):
|
||||
sort_order = models.IntegerField(default=1000)
|
||||
|
||||
exam = models.ForeignKey("Exam", on_delete=models.CASCADE)
|
||||
rapid = models.ForeignKey(Question, on_delete=models.CASCADE)
|
||||
question = models.ForeignKey(Question, on_delete=models.CASCADE)
|
||||
|
||||
class Meta:
|
||||
ordering = ("sort_order",)
|
||||
|
||||
Reference in New Issue
Block a user