kadenios/elections/migrations/0017_auto_20210329_1802.py

32 lines
863 B
Python

# Generated by Django 2.2.19 on 2021-03-29 16:02
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("elections", "0016_auto_20210329_1759"),
]
operations = [
migrations.AlterField(
model_name="duel",
name="loser",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="contests_lost",
to="elections.Option",
),
),
migrations.AlterField(
model_name="duel",
name="winner",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="contests_won",
to="elections.Option",
),
),
]