diff options
Diffstat (limited to 'program/migrations')
-rw-r--r-- | program/migrations/0013_show_and_note_images.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/program/migrations/0013_show_and_note_images.py b/program/migrations/0013_show_and_note_images.py new file mode 100644 index 0000000..2cf8d1a --- /dev/null +++ b/program/migrations/0013_show_and_note_images.py @@ -0,0 +1,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(upload_to=program.models.show_image_filename, null=True, verbose_name='Image', blank=True), + ), + migrations.AddField( + model_name='note', + name='image', + field=models.ImageField(upload_to=program.models.note_image_filename, null=True, verbose_name='Image', blank=True), + ), + ] |