summaryrefslogtreecommitdiff
path: root/bak/unused_apps/jrnl/migrations/0024_auto_20180902_1217.py
blob: 314c8c6e15aa7ebecc64dc975c6f8da23553236f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Generated by Django 2.1 on 2018-09-02 12:17

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('photos', '0018_auto_20161130_1218'),
        ('jrnl', '0023_auto_20180902_1210'),
    ]

    operations = [
        migrations.CreateModel(
            name='Home',
            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')),
                ('featured_image', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='photos.LuxImage')),
                ('popular', models.ManyToManyField(to='jrnl.Entry')),
            ],
        ),
        migrations.AlterField(
            model_name='homepagecurrator',
            name='featured',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='oldbanner', to='jrnl.Entry'),
        ),
    ]