35 lines
1.0 KiB
Python
35 lines
1.0 KiB
Python
# Generated by Django 3.0.7 on 2020-07-28 10:08
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('Film', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='film',
|
|
name='aggiornato_in_data',
|
|
field=models.DateField(auto_now=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='film',
|
|
name='creato_in_data',
|
|
field=models.DateTimeField(auto_now_add=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='film',
|
|
name='immagine_locale',
|
|
field=models.ImageField(blank=True, null=True, upload_to=''),
|
|
),
|
|
migrations.AddField(
|
|
model_name='film',
|
|
name='voto',
|
|
field=models.PositiveSmallIntegerField(blank=True, null=True, validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(10)]),
|
|
),
|
|
]
|