dynamicweb/ungleich_page/migrations/0017_auto_20171219_1856.py

42 lines
2.2 KiB
Python
Raw Permalink Normal View History

2017-12-19 16:55:27 +00:00
# -*- coding: utf-8 -*-
2017-12-19 21:23:26 +00:00
# Generated by Django 1.9.4 on 2017-12-19 21:19
2017-12-19 16:55:27 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import filer.fields.file
import filer.fields.image
class Migration(migrations.Migration):
dependencies = [
('ungleich_page', '0016_ungleichheaderwithbackgroundimageslider_ungleichheaderwithbackgroundimageslideritem'),
2017-12-19 16:55:27 +00:00
]
operations = [
migrations.CreateModel(
2017-12-19 21:23:26 +00:00
name='UngleichHeaderWithBackgroundVideoSliderItem',
2017-12-19 16:55:27 +00:00
fields=[
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE,
parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
2017-12-19 21:23:26 +00:00
('description', models.TextField(
blank=True, help_text='An optional description for this slide.', null=True)),
('image', filer.fields.image.FilerImageField(blank=True, help_text='The background image or poster image for video.',
null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='ungleich_header_item_poster', to='filer.Image')),
('btn_link', models.URLField(
blank=True, help_text='If this field is left empty, no button would be displayed.', null=True)),
('btn_text', models.CharField(
blank=True, help_text='Text for the button, if a link is provided.', max_length=50, null=True)),
('heading', models.CharField(
blank=True, help_text='An optional title for this slide.', max_length=100, null=True)),
2017-12-22 22:59:31 +00:00
('video', filer.fields.file.FilerFileField(blank=True, help_text='Leaving this blank will make the image as the background.',
2017-12-19 21:23:26 +00:00
null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='ungleich_header_item_video', to='filer.File')),
2017-12-19 16:55:27 +00:00
],
options={
'abstract': False,
},
bases=('cms.cmsplugin',),
),
]