class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0009_auto_20190924_1644'),
    ]

    operations = [
        migrations.AlterField(
            model_name='player',
            name='gigged_with',
            field=models.ManyToManyField(
                blank=True,
                help_text=
                "\n<p>Choose people this player has gigged with (ie: done a concert with). Note that jams don't count!</p>\n<hr>\n<p><span style='font-weight:bold'>On desktop:</span> double click on a player to select them</p>\n<p style='font-weight:bold'>On mobile:</p>\n<ol>\n<li>Click on the gray box in the 'available gigged with' group, choose some players, and click OK.</li>\n<li>Click on the downward arrow to move the players to the 'chosen gigged with' group</li>\n</ol>\n",
                related_name='_player_gigged_with_+',
                to='DjangoVerse.Player'),
        ),
        migrations.AlterField(
            model_name='player',
            name='image',
            field=models.ImageField(
                blank=True,
                help_text=
                'If the width is not 1.5 times the height, then the image will be cropped to make it so.',
                null=True,
                storage=DjangoVerse.storage.OverwriteStorage(),
                upload_to=DjangoVerse.models.player_img_path),
        ),
        migrations.AlterField(
            model_name='player',
            name='instrument',
            field=models.ManyToManyField(
                help_text=
                "\n<p>This field is required!</p>\n<hr>\n<p><span style='font-weight:bold'>On desktop:</span> double click on an instrument to select it</p>\n<p style='font-weight:bold'>On mobile:</p>\n<ol>\n<li>Click on the gray box in the 'available instrument' group, choose an instrument, and click OK.</li>\n<li>Click on the downward arrow to move the instrument to the 'chosen instrument' group</li>\n</ol>\n",
                to='DjangoVerse.Instrument'),
        ),
        migrations.AlterField(
            model_name='player',
            name='isactive',
            field=models.BooleanField(
                default=True,
                help_text=
                "Whether or not they're active on the Gypsy Jazz scene today"),
        ),
        migrations.AlterField(
            model_name='player',
            name='video_embed',
            field=models.CharField(
                blank=True,
                default='',
                help_text=
                "Paste the URL to a youtube video of this player's music",
                max_length=300,
                verbose_name='Youtube URL'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0002_festival_thumbnail'),
    ]

    operations = [
        migrations.AddField(
            model_name='album',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.album_img_path),
        ),
        migrations.AddField(
            model_name='band',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.band_img_path),
        ),
        migrations.AddField(
            model_name='player',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.player_img_path),
        ),
        migrations.AddField(
            model_name='venue',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.venue_img_path),
        ),
    ]
Esempio n. 3
0
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0008_auto_20190924_1633'),
    ]

    operations = [
        migrations.AlterField(
            model_name='player',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.player_img_path),
        ),
    ]
class Migration(migrations.Migration):

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

    operations = [
        migrations.AddField(
            model_name='festival',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                upload_to=DjangoVerse.models.festival_img_path),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0007_auto_20190924_1623'),
    ]

    operations = [
        migrations.AlterField(
            model_name='player',
            name='image',
            field=models.ImageField(
                blank=True,
                null=True,
                storage=DjangoVerse.storage.OverwriteStorage(),
                upload_to=DjangoVerse.models.player_img_path),
        ),
    ]
Esempio n. 6
0
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0006_player_video_embed'),
    ]

    operations = [
        migrations.AlterField(
            model_name='player',
            name='thumbnail',
            field=models.ImageField(
                blank=True,
                null=True,
                storage=DjangoVerse.storage.OverwriteStorage(),
                upload_to=DjangoVerse.models.player_img_path),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0012_auto_20190925_2318'),
    ]

    operations = [
        migrations.AlterField(
            model_name='player',
            name='gigged_with',
            field=models.ManyToManyField(blank=True,
                                         related_name='_player_gigged_with_+',
                                         to='DjangoVerse.Player'),
        ),
        migrations.AlterField(
            model_name='player',
            name='image',
            field=models.ImageField(
                blank=True,
                help_text=
                '<p>The image should be <b>landscape</b> rather than portrait. (ie: horizontal rather than vertical).</p><p>If the width is not 1.5 times the height, then the image will be cropped to make it so.</p>',
                null=True,
                upload_to=DjangoVerse.models.player_img_path),
        ),
        migrations.AlterField(
            model_name='player',
            name='instrument',
            field=models.ManyToManyField(to='DjangoVerse.Instrument'),
        ),
        migrations.AlterField(
            model_name='player',
            name='video_embed',
            field=models.CharField(
                blank=True,
                default='',
                help_text=
                "<p>Paste the URL of a <b>youtube video</b> of this player's music.</p> <p><b>Note: don't paste the link to a youtube account :)</b></p>",
                max_length=300,
                verbose_name='Youtube URL'),
        ),
    ]
class Migration(migrations.Migration):

    dependencies = [
        ('DjangoVerse', '0010_auto_20190925_2140'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='player',
            name='thumbnail',
        ),
        migrations.AlterField(
            model_name='player',
            name='image',
            field=models.ImageField(
                blank=True,
                help_text=
                'If the width is not 1.5 times the height, then the image will be cropped to make it so.',
                null=True,
                upload_to=DjangoVerse.models.player_img_path),
        ),
    ]