| 
									
										
										
										
											2017-12-19 22:25:27 +05:30
										 |  |  | # -*- coding: utf-8 -*- | 
					
						
							| 
									
										
										
										
											2017-12-20 02:53:26 +05:30
										 |  |  | # Generated by Django 1.9.4 on 2017-12-19 21:19 | 
					
						
							| 
									
										
										
										
											2017-12-19 22:25:27 +05:30
										 |  |  | 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 = [ | 
					
						
							| 
									
										
										
										
											2017-12-20 01:36:38 +05:30
										 |  |  |         ('ungleich_page', '0016_ungleichheaderwithbackgroundimageslider_ungleichheaderwithbackgroundimageslideritem'), | 
					
						
							| 
									
										
										
										
											2017-12-19 22:25:27 +05:30
										 |  |  |     ] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     operations = [ | 
					
						
							|  |  |  |         migrations.CreateModel( | 
					
						
							| 
									
										
										
										
											2017-12-20 02:53:26 +05:30
										 |  |  |             name='UngleichHeaderWithBackgroundVideoSliderItem', | 
					
						
							| 
									
										
										
										
											2017-12-19 22:25:27 +05:30
										 |  |  |             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-20 02:53:26 +05:30
										 |  |  |                 ('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-23 04:29:31 +05:30
										 |  |  |                 ('video', filer.fields.file.FilerFileField(blank=True, help_text='Leaving this blank will make the image as the background.', | 
					
						
							| 
									
										
										
										
											2017-12-20 02:53:26 +05:30
										 |  |  |                                                            null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='ungleich_header_item_video', to='filer.File')), | 
					
						
							| 
									
										
										
										
											2017-12-19 22:25:27 +05:30
										 |  |  |             ], | 
					
						
							|  |  |  |             options={ | 
					
						
							|  |  |  |                 'abstract': False, | 
					
						
							|  |  |  |             }, | 
					
						
							|  |  |  |             bases=('cms.cmsplugin',), | 
					
						
							|  |  |  |         ), | 
					
						
							|  |  |  |     ] |