All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 2m29s
24 lines
854 B
Python
24 lines
854 B
Python
# Generated by Django 6.0 on 2025-12-22 14:36
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('quiz', '0009_quizresult_difficulty'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='question',
|
|
name='matching_data',
|
|
field=models.JSONField(blank=True, help_text='JSON data for matching questions: {left_items: [...], top_items: [...], correct_pairs: [[0,1], [1,2], ...]}', null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='question',
|
|
name='question_type',
|
|
field=models.CharField(choices=[('mcq', 'Multiple Choice'), ('scq', 'Single Choice'), ('matching', 'Matching'), ('textalternativ', 'Text Alternative'), ('textfält', 'Text Field')], default='mcq', max_length=20),
|
|
),
|
|
]
|