dynamicweb/ungleich_page/migrations/0018_ungleichfooter.py

45 lines
2.1 KiB
Python
Raw Permalink Normal View History

2018-02-06 19:36:03 +00:00
# -*- coding: utf-8 -*-
2018-02-08 15:56:28 +00:00
# Generated by Django 1.9.4 on 2018-02-08 15:49
2018-02-06 19:36:03 +00:00
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('ungleich_page', '0017_auto_20171219_1856'),
2018-02-08 15:56:28 +00:00
('cms', '0014_auto_20160404_1908'),
2018-02-06 19:36:03 +00:00
]
operations = [
migrations.CreateModel(
name='UngleichFooter',
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')),
2018-02-08 15:56:28 +00:00
('copyright_label', models.CharField(blank=True, default='',
help_text='Name of the company alongside the copyright year', max_length=100)),
2018-02-06 19:36:03 +00:00
('link_text', models.CharField(
2018-02-08 15:56:28 +00:00
blank=True, help_text='Text for the link on the right part of footer', max_length=100, null=True)),
2018-02-06 19:36:03 +00:00
('link_url', models.URLField(blank=True,
help_text='Url to the link in footer', null=True)),
('twitter_url', models.URLField(
blank=True, help_text='If empty, twitter btn will not be visible', null=True)),
('linkedin_url', models.URLField(
blank=True, help_text='If empty, linkedin btn will not be visible', null=True)),
('github_url', models.URLField(
blank=True, help_text='If empty, github btn will not be visible', null=True)),
2018-02-08 15:56:28 +00:00
('facebook_url', models.URLField(
blank=True, help_text='If empty, facebook btn will not be visible', null=True)),
('youtube_url', models.URLField(
blank=True, help_text='If empty, youtube btn will not be visible', null=True)),
2018-02-06 19:36:03 +00:00
],
options={
'abstract': False,
},
bases=('cms.cmsplugin',),
),
]