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
|
# -*- 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')),
],
),
]
|