# Generated by Django 5.1.7 on 2025-04-11 13:21

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('library', '0040_alter_qivipquiz_description'),
    ]

    operations = [
        migrations.AlterField(
            model_name='qivipquiz',
            name='category',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='quiz', to='library.quizcategory', verbose_name='Kategorie'),
        ),
        migrations.AlterField(
            model_name='qivipquiz',
            name='difficulty',
            field=models.CharField(choices=[('1', '1'), ('2', '2'), ('3', '3'), ('4', '4'), ('5', '5'), ('nicht gesetzt', 'nicht gesetzt')], default='nicht gesetzt', help_text='1: niedrigste Schwierigkeit und 5: höchste Schwierigkeit', max_length=13, verbose_name='Schwierigkeit'),
        ),
        migrations.AlterField(
            model_name='qivipquiz',
            name='image',
            field=models.ImageField(blank=True, max_length=256, null=True, upload_to='quiz_images/', verbose_name='Bild'),
        ),
        migrations.AlterField(
            model_name='qivipquiz',
            name='name',
            field=models.CharField(max_length=75, verbose_name='Name des Quizzes'),
        ),
    ]
