summaryrefslogtreecommitdiff
path: root/app/jrnl/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-07-15 07:29:23 -0400
committerluxagraf <sng@luxagraf.net>2016-07-15 07:29:23 -0400
commitc32778185d371bdf65112a1d8cddd6fc2befcb73 (patch)
tree06514c30155a9b0cda08444bb1bd220c60bf25a6 /app/jrnl/migrations
parente2139aeabd564a48598a1142492bcbd08f3f722c (diff)
mane homepage currator a bit smarter and easier to update
Diffstat (limited to 'app/jrnl/migrations')
-rw-r--r--app/jrnl/migrations/0006_auto_20160715_0703.py37
-rw-r--r--app/jrnl/migrations/0007_delete_postimage.py18
2 files changed, 55 insertions, 0 deletions
diff --git a/app/jrnl/migrations/0006_auto_20160715_0703.py b/app/jrnl/migrations/0006_auto_20160715_0703.py
new file mode 100644
index 0000000..42efc43
--- /dev/null
+++ b/app/jrnl/migrations/0006_auto_20160715_0703.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-07-15 07:03
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import jrnl.models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('photos', '0010_auto_20160517_0906'),
+ ('jrnl', '0005_auto_20160514_2151'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='homepagecurrator',
+ name='images',
+ field=models.ManyToManyField(to='photos.LuxImage'),
+ ),
+ migrations.AlterField(
+ model_name='entry',
+ name='image',
+ field=models.FileField(blank=True, help_text='should be 205px high by 364px wide', null=True, upload_to=jrnl.models.get_upload_path),
+ ),
+ migrations.AlterField(
+ model_name='entry',
+ 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),
+ ),
+ migrations.AlterField(
+ model_name='postimage',
+ name='image',
+ field=models.ImageField(upload_to='/home/lxf/Sites/luxagraf/site/media/images/2016'),
+ ),
+ ]
diff --git a/app/jrnl/migrations/0007_delete_postimage.py b/app/jrnl/migrations/0007_delete_postimage.py
new file mode 100644
index 0000000..cc481e8
--- /dev/null
+++ b/app/jrnl/migrations/0007_delete_postimage.py
@@ -0,0 +1,18 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9.7 on 2016-07-15 07:05
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('jrnl', '0006_auto_20160715_0703'),
+ ]
+
+ operations = [
+ migrations.DeleteModel(
+ name='PostImage',
+ ),
+ ]