migrations
This commit is contained in:
		
					parent
					
						
							
								8a3ddda93e
							
						
					
				
			
			
				commit
				
					
						ef1f19d698
					
				
			
		
					 2 changed files with 58 additions and 0 deletions
				
			
		| 
						 | 
					@ -0,0 +1,37 @@
 | 
				
			||||||
 | 
					# -*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# Generated by Django 1.9.4 on 2018-03-21 19:09
 | 
				
			||||||
 | 
					from __future__ import unicode_literals
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from django.db import migrations, models
 | 
				
			||||||
 | 
					import django.db.models.deletion
 | 
				
			||||||
 | 
					import djangocms_text_ckeditor.fields
 | 
				
			||||||
 | 
					import filer.fields.image
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dependencies = [
 | 
				
			||||||
 | 
					        ('cms', '0014_auto_20160404_1908'),
 | 
				
			||||||
 | 
					        ('filer', '0005_auto_20171219_1856'),
 | 
				
			||||||
 | 
					        ('datacenterlight', '0013_dclnavbarpluginmodel'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.CreateModel(
 | 
				
			||||||
 | 
					            name='DCLSectionPromoPluginModel',
 | 
				
			||||||
 | 
					            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')),
 | 
				
			||||||
 | 
					                ('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()),
 | 
				
			||||||
 | 
					                ('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)),
 | 
				
			||||||
 | 
					                ('plain_heading', models.BooleanField(default=False, 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={
 | 
				
			||||||
 | 
					                'abstract': False,
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            bases=('cms.cmsplugin',),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
							
								
								
									
										21
									
								
								datacenterlight/migrations/0015_auto_20180323_0011.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								datacenterlight/migrations/0015_auto_20180323_0011.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,21 @@
 | 
				
			||||||
 | 
					# -*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# Generated by Django 1.9.4 on 2018-03-22 19:22
 | 
				
			||||||
 | 
					from __future__ import unicode_literals
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from django.db import migrations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dependencies = [
 | 
				
			||||||
 | 
					        ('datacenterlight', '0014_dclsectionpromopluginmodel'),
 | 
				
			||||||
 | 
					        ('datacenterlight', '0014_dclnavbarpluginmodel_language_dropdown'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.RenameField(
 | 
				
			||||||
 | 
					            model_name='dclsectionpromopluginmodel',
 | 
				
			||||||
 | 
					            old_name='center_on_mobile',
 | 
				
			||||||
 | 
					            new_name='text_center',
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue