summaryrefslogtreecommitdiff
path: root/program/migrations/0013_show_and_note_images.py
blob: 91a08b0d896a3bfdad65208a1a6e1429bc47fef6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import program.models


class Migration(migrations.Migration):

    dependencies = [
        ('program', '0012_add_language'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='show',
            name='image_enabled',
        ),
        migrations.AlterField(
            model_name='show',
            name='image',
            field=models.ImageField(max_length=350, upload_to=program.models.show_image_filename, null=True, verbose_name='Image', blank=True),
        ),
        migrations.AddField(
            model_name='note',
            name='image',
            field=models.ImageField(max_length=350, upload_to=program.models.note_image_filename, null=True, verbose_name='Image', blank=True),
        ),
    ]