This commit is contained in:
Holger Sielaff
2024-07-03 21:41:03 +02:00
commit 030d3c8059
45 changed files with 2025 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Generated by Django 4.2.13 on 2024-07-02 08:09
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import lib.middleware.current_user
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('quiz', '0002_quiz_name'),
]
operations = [
migrations.AlterField(
model_name='quiz',
name='author',
field=models.ForeignKey(default=lib.middleware.current_user.get_current_user, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL),
),
]