23 lines
706 B
Python
23 lines
706 B
Python
# Generated by Django 3.1 on 2020-09-20 16:55
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('Film', '0021_auto_20200918_2000'),
|
|
]
|
|
|
|
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='')),
|
|
('film', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='immagini_film', to='Film.film')),
|
|
],
|
|
),
|
|
]
|