mediacms/actions/migrations/0002_mediaaction_media.py

27 wiersze
606 B
Python
Czysty Zwykły widok Historia

2020-12-15 21:33:43 +00:00
# Generated by Django 3.1.4 on 2020-12-01 07:12
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
("actions", "0001_initial"),
("files", "0001_initial"),
]
operations = [
migrations.AddField(
model_name="mediaaction",
name="media",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="mediaactions",
to="files.media",
),
),
]