summaryrefslogtreecommitdiff
path: root/app/posts/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-13 22:11:28 -0500
committerluxagraf <sng@luxagraf.net>2020-11-13 22:11:28 -0500
commitb2434dcba142961b4a4b67780cf64e01d0908bf5 (patch)
treea9d91844efe30952177c28e329f9f652517dfbe3 /app/posts/migrations
parent2f9701b600493f1172c15447ba5ce4f363b49136 (diff)
migrated jrnl to posts, fixed some bugs in pages build, RSS feed, and
Sitemap
Diffstat (limited to 'app/posts/migrations')
-rw-r--r--app/posts/migrations/0014_auto_20201113_1444.py18
-rw-r--r--app/posts/migrations/0015_post_old_image.py19
2 files changed, 37 insertions, 0 deletions
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),
+ ),
+ ]