diff options
author | Christian Pointner <equinox@helsinki.at> | 2021-03-29 12:22:19 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2021-05-28 20:17:37 (GMT) |
commit | dde04a95dcb76b765b8c66775a6ee242d3c316c4 (patch) | |
tree | 9dd6feef40534dae4f515dc6d24b7fc1ea29acca /program/migrations | |
parent | 8154c30318127e0491786b65975bee808cd8e27b (diff) |
add show and note images based on S3 storage
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), + ), + ] |