fix migrations
This commit is contained in:
parent
5e8f21c8e3
commit
d74fdf9472
2 changed files with 17 additions and 9 deletions
|
@ -9,12 +9,14 @@ class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('datacenterlight', '0013_dclnavbarpluginmodel'),
|
('datacenterlight', '0013_dclnavbarpluginmodel'),
|
||||||
|
('filer', '0005_auto_20171219_1856'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='dclnavbarpluginmodel',
|
model_name='dclnavbarpluginmodel',
|
||||||
name='language_dropdown',
|
name='language_dropdown',
|
||||||
field=models.BooleanField(default=True, help_text='Select to include the language selection dropdown.'),
|
field=models.BooleanField(
|
||||||
|
default=True, help_text='Select to include the language selection dropdown.'),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -12,7 +12,6 @@ class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('cms', '0014_auto_20160404_1908'),
|
('cms', '0014_auto_20160404_1908'),
|
||||||
('filer', '0005_auto_20171219_1856'),
|
|
||||||
('datacenterlight', '0013_dclnavbarpluginmodel'),
|
('datacenterlight', '0013_dclnavbarpluginmodel'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -20,14 +19,21 @@ class Migration(migrations.Migration):
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name='DCLSectionPromoPluginModel',
|
name='DCLSectionPromoPluginModel',
|
||||||
fields=[
|
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')),
|
('cmsplugin_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE,
|
||||||
('heading', models.CharField(blank=True, help_text='An optional heading for the Promo Section', max_length=100, null=True)),
|
parent_link=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
|
||||||
('subheading', models.CharField(blank=True, help_text='An optional subheading for the Promo Section', max_length=200, null=True)),
|
('heading', models.CharField(
|
||||||
|
blank=True, help_text='An optional heading for the Promo Section', max_length=100, null=True)),
|
||||||
|
('subheading', models.CharField(
|
||||||
|
blank=True, help_text='An optional subheading for the Promo Section', max_length=200, null=True)),
|
||||||
('content', djangocms_text_ckeditor.fields.HTMLField()),
|
('content', djangocms_text_ckeditor.fields.HTMLField()),
|
||||||
('html_id', models.SlugField(blank=True, help_text='An optional html id for the Section. Required to set as target of a link on page', null=True)),
|
('html_id', models.SlugField(
|
||||||
('plain_heading', models.BooleanField(default=False, help_text='Select to keep the heading style simpler.')),
|
blank=True, help_text='An optional html id for the Section. Required to set as target of a link on page', null=True)),
|
||||||
('center_on_mobile', models.BooleanField(default=False, help_text='Select to center align content on small screens.')),
|
('plain_heading', models.BooleanField(default=False,
|
||||||
('background_image', filer.fields.image.FilerImageField(blank=True, help_text='Optional background image for the Promo Section', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcl_section_promo_promo', to='filer.Image')),
|
help_text='Select to keep the heading style simpler.')),
|
||||||
|
('center_on_mobile', models.BooleanField(default=False,
|
||||||
|
help_text='Select to center align content on small screens.')),
|
||||||
|
('background_image', filer.fields.image.FilerImageField(blank=True, help_text='Optional background image for the Promo Section',
|
||||||
|
null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcl_section_promo_promo', to='filer.Image')),
|
||||||
],
|
],
|
||||||
options={
|
options={
|
||||||
'abstract': False,
|
'abstract': False,
|
||||||
|
|
Loading…
Reference in a new issue