mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
More!
This commit is contained in:
24
tvdt/quiz/migrations/0002_season_owner.py
Normal file
24
tvdt/quiz/migrations/0002_season_owner.py
Normal file
@@ -0,0 +1,24 @@
|
||||
# Generated by Django 5.1.3 on 2024-11-30 18:21
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("quiz", "0001_initial"),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="season",
|
||||
name="owner",
|
||||
field=models.ManyToManyField(
|
||||
related_name="seasons",
|
||||
to=settings.AUTH_USER_MODEL,
|
||||
verbose_name="owners",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user