diff options
author | luxagraf <sng@luxagraf.net> | 2016-11-02 12:44:30 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-11-02 12:44:30 -0400 |
commit | df8c450c5ee993bf997e3ae9de52e8b1c91e91d6 (patch) | |
tree | 9c7f22bfda9ac2508ef49b02c053f969262f6f29 /app/jrnl/migrations/0014_homepagecurrator.py | |
parent | 9a044c66c5f2e201ac4d264909e8f8b62e288818 (diff) |
launched new homepage and misc improvements
Diffstat (limited to 'app/jrnl/migrations/0014_homepagecurrator.py')
-rw-r--r-- | app/jrnl/migrations/0014_homepagecurrator.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/jrnl/migrations/0014_homepagecurrator.py b/app/jrnl/migrations/0014_homepagecurrator.py new file mode 100644 index 0000000..2d34866 --- /dev/null +++ b/app/jrnl/migrations/0014_homepagecurrator.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.3 on 2016-11-02 09:31 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('photos', '0016_auto_20161022_1411'), + ('jrnl', '0013_entry_featured_image'), + ] + + operations = [ + migrations.CreateModel( + name='HomepageCurrator', + fields=[ + ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), + ('image_offset_vertical', models.CharField(help_text='add negative top margin to shift image (include css unit)', max_length=20)), + ('tag_line', models.CharField(max_length=200)), + ('template_name', models.CharField(help_text='full path', max_length=200)), + ('featured', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='banner', to='jrnl.Entry')), + ('images', models.ManyToManyField(to='photos.LuxImage')), + ('popular', models.ManyToManyField(to='jrnl.Entry')), + ], + ), + ] |