From b2434dcba142961b4a4b67780cf64e01d0908bf5 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 13 Nov 2020 22:11:28 -0500 Subject: migrated jrnl to posts, fixed some bugs in pages build, RSS feed, and Sitemap --- app/posts/migrations/0014_auto_20201113_1444.py | 18 ++++++++++++++++++ app/posts/migrations/0015_post_old_image.py | 19 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 app/posts/migrations/0014_auto_20201113_1444.py create mode 100644 app/posts/migrations/0015_post_old_image.py (limited to 'app/posts/migrations') diff --git a/app/posts/migrations/0014_auto_20201113_1444.py b/app/posts/migrations/0014_auto_20201113_1444.py new file mode 100644 index 0000000..2ac1df0 --- /dev/null +++ b/app/posts/migrations/0014_auto_20201113_1444.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1 on 2020-11-13 14:44 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0013_auto_20201111_2231'), + ] + + operations = [ + migrations.AlterField( + model_name='post', + name='template_name', + field=models.IntegerField(choices=[(0, 'single'), (1, 'double'), (2, 'single-dark'), (3, 'double-dark'), (4, 'single-black'), (5, 'double-black')], default=0), + ), + ] diff --git a/app/posts/migrations/0015_post_old_image.py b/app/posts/migrations/0015_post_old_image.py new file mode 100644 index 0000000..e9d6088 --- /dev/null +++ b/app/posts/migrations/0015_post_old_image.py @@ -0,0 +1,19 @@ +# Generated by Django 3.1 on 2020-11-13 16:14 + +from django.db import migrations, models +import posts.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('posts', '0014_auto_20201113_1444'), + ] + + operations = [ + migrations.AddField( + model_name='post', + name='old_image', + field=models.FileField(blank=True, help_text='should be 520 by 290', null=True, upload_to=posts.models.get_upload_path), + ), + ] -- cgit v1.2.3-70-g09d2