23 lines
719 B
Python
23 lines
719 B
Python
# Generated by Django 3.1.1 on 2020-10-10 12:29
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('SerieTV', '0015_serietv_durata'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Immagini',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('immagini', models.ImageField(blank=True, null=True, upload_to='')),
|
|
('serietv', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='immagini_serietv', to='SerieTV.serietv')),
|
|
],
|
|
),
|
|
]
|