dynamicweb/datacenterlight/migrations/0013_dclnavbarpluginmodel.py

32 lines
1.4 KiB
Python
Raw Permalink Normal View History

2018-03-16 09:59:24 +00:00
# -*- coding: utf-8 -*-
2018-03-17 07:21:44 +00:00
# Generated by Django 1.9.4 on 2018-03-17 07:19
2018-03-16 09:59:24 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import filer.fields.image
class Migration(migrations.Migration):
dependencies = [
('datacenterlight', '0012_dclcalculatorpluginmodel'),
2018-03-17 07:21:44 +00:00
('cms', '0014_auto_20160404_1908'),
2018-03-16 09:59:24 +00:00
]
operations = [
migrations.CreateModel(
name='DCLNavbarPluginModel',
fields=[
2018-03-17 07:21:44 +00:00
('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')),
2018-03-16 09:59:24 +00:00
('logo_url', models.URLField(blank=True, max_length=300, null=True)),
2018-03-17 07:21:44 +00:00
('logo_dark', filer.fields.image.FilerImageField(blank=True, help_text='Logo to be used on white navbar', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcl_navbar_logo_dark', to='filer.Image')),
('logo_light', filer.fields.image.FilerImageField(blank=True, help_text='Logo to be used on transparent navbar', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dcl_navbar_logo_light', to='filer.Image')),
2018-03-16 09:59:24 +00:00
],
options={
'abstract': False,
},
bases=('cms.cmsplugin',),
),
]