diff options
author | luxagraf <sng@luxagraf.net> | 2018-06-06 09:59:36 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-06-06 09:59:36 -0500 |
commit | 1515e5ac7b4f2d4061d73ea8215b27f110d811cb (patch) | |
tree | d48bf7d4833dc4c6e0e6798feb7ee6f7093db185 /app/jrnl | |
parent | af4370f35a5702d7c2061de20e476bebef380d0a (diff) |
make some new migrations to fix null image in jrnl entry
Diffstat (limited to 'app/jrnl')
-rw-r--r-- | app/jrnl/migrations/0019_remove_entry_thumbnail.py | 17 | ||||
-rw-r--r-- | app/jrnl/migrations/0020_auto_20180606_1058.py | 19 | ||||
-rw-r--r-- | app/jrnl/migrations/0021_auto_20180606_1058.py | 19 |
3 files changed, 55 insertions, 0 deletions
diff --git a/app/jrnl/migrations/0019_remove_entry_thumbnail.py b/app/jrnl/migrations/0019_remove_entry_thumbnail.py new file mode 100644 index 0000000..d964260 --- /dev/null +++ b/app/jrnl/migrations/0019_remove_entry_thumbnail.py @@ -0,0 +1,17 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0018_auto_20180303_1037'), + ] + + operations = [ + migrations.RemoveField( + model_name='entry', + name='thumbnail', + ), + ] diff --git a/app/jrnl/migrations/0020_auto_20180606_1058.py b/app/jrnl/migrations/0020_auto_20180606_1058.py new file mode 100644 index 0000000..7575d4f --- /dev/null +++ b/app/jrnl/migrations/0020_auto_20180606_1058.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations, models +import jrnl.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0019_remove_entry_thumbnail'), + ] + + operations = [ + migrations.AlterField( + model_name='entry', + name='image', + field=models.FileField(blank=True, help_text='should be 520 by 290', upload_to=jrnl.models.get_upload_path), + ), + ] diff --git a/app/jrnl/migrations/0021_auto_20180606_1058.py b/app/jrnl/migrations/0021_auto_20180606_1058.py new file mode 100644 index 0000000..ab42290 --- /dev/null +++ b/app/jrnl/migrations/0021_auto_20180606_1058.py @@ -0,0 +1,19 @@ +# Generated by Django 2.0.1 on 2018-06-06 10:58 + +from django.db import migrations, models +import jrnl.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('jrnl', '0020_auto_20180606_1058'), + ] + + operations = [ + migrations.AlterField( + model_name='entry', + name='image', + field=models.FileField(blank=True, help_text='should be 520 by 290', null=True, upload_to=jrnl.models.get_upload_path), + ), + ] |