LORDCHANNEL2.0/SerieTV/migrations/0009_segnalazioneserietv.py

28 lines
1.1 KiB
Python

# Generated by Django 3.1 on 2020-08-17 15:10
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('SerieTV', '0008_auto_20200808_2301'),
]
operations = [
migrations.CreateModel(
name='SegnalazioneSerieTV',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('problema_video', models.CharField(choices=[('Link Non Funzionante', 'Link Non Funzionante'), ('Video Pessima Qualitá', 'Video Pessima Qualitá'), ('Audio Mancante', 'Audio Mancante'), ('Film Incompleto', 'Film Incompleto'), ('Altro', 'Altro')], default='Link Non Funzionante', max_length=50)),
('descrizione_problema', models.TextField()),
('serietv', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='serietv_segnalata', to='SerieTV.serietv')),
],
options={
'verbose_name': 'Segnalazione',
'verbose_name_plural': 'Segnalazioni',
},
),
]