Esempio n. 1
0
class Migration(migrations.Migration):

    dependencies = [
        ('carousel', '0010_auto_20181004_1952'),
    ]

    operations = [
        migrations.AlterField(
            model_name='carousel',
            name='imagen',
            field=models.ImageField(blank=True, upload_to=carousel.models.custom_upload_to, verbose_name='Imagen (M\xe1x. 10MB)'),
        ),
    ]
Esempio n. 2
0
class Migration(migrations.Migration):

    dependencies = [
        ('carousel', '0003_auto_20180626_1036'),
    ]

    operations = [
        migrations.AlterField(
            model_name='image',
            name='location',
            field=models.ImageField(upload_to=carousel.models.get_image_path),
        ),
    ]
Esempio n. 3
0
class Migration(migrations.Migration):

    dependencies = [
        ('carousel', '0005_auto_20181001_0044'),
    ]

    operations = [
        migrations.AlterField(
            model_name='carousel',
            name='imagen',
            field=models.ImageField(upload_to=carousel.models.custom_upload_to,
                                    verbose_name='Imagen'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('carousel', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='image',
            name='location',
            field=models.ImageField(blank=True,
                                    null=True,
                                    upload_to=carousel.models.get_image_path),
        ),
    ]