class Migration(migrations.Migration): dependencies = [ ('aldryn_newsblog', '0025_auto_20210421_2051'), ] operations = [ migrations.CreateModel( name='ArticleTag', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('newsblog_config', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='aldryn_newsblog.NewsBlogConfig')), ], options={ 'verbose_name': 'tag', 'verbose_name_plural': 'tags', }, bases=(aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, aldryn_translation_tools.models.TranslationHelperMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.AddField( model_name='article', name='article_tags', field=models.ManyToManyField(blank=True, to='aldryn_newsblog.ArticleTag', verbose_name='tags'), ), migrations.CreateModel( name='ArticleTagTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('name', models.CharField(default='', max_length=255, verbose_name='name')), ('slug', models.SlugField( blank=True, default='', help_text= 'Provide a “slug” or leave blank for an automatically generated one.', max_length=255, verbose_name='slug')), ('master', parler.fields.TranslationsForeignKey( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='aldryn_newsblog.ArticleTag')), ], options={ 'verbose_name': 'tag Translation', 'db_table': 'aldryn_newsblog_articletag_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), 'unique_together': {('language_code', 'master'), ('language_code', 'slug')}, }, bases=(parler.models.TranslatedFieldsModelMixin, models.Model), ), ]
class Migration(migrations.Migration): dependencies = [ ('js_events', '0037_event_share_image'), ] operations = [ migrations.CreateModel( name='Channel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('position', models.PositiveSmallIntegerField(default=0)), ], options={ 'verbose_name': 'Channel', 'verbose_name_plural': 'Channels', 'ordering': ['position'], }, bases=(aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, aldryn_translation_tools.models.TranslationHelperMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.AddField( model_name='event', name='channel', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='js_events.Channel', verbose_name='channel'), ), migrations.CreateModel( name='ChannelTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('name', models.CharField(max_length=234, verbose_name='name')), ('slug', models.SlugField( blank=True, help_text= 'Used in the URL. If changed, the URL will change. Clear it to have it re-created automatically.', max_length=255, verbose_name='slug')), ('master', parler.fields.TranslationsForeignKey( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='js_events.Channel')), ], options={ 'verbose_name': 'Channel Translation', 'db_table': 'js_events_channel_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), 'unique_together': {('language_code', 'master')}, }, bases=(parler.models.TranslatedFieldsModelMixin, models.Model), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('aldryn_people', '0018_auto_20160802_1852'), ('aldryn_categories', '0004_auto_20150623_0859'), ('cms', '0020_old_tree_cleanup'), migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Dashboard', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('publishing_date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='publishing date')), ('is_published', models.BooleanField(db_index=True, default=False, verbose_name='is published')), ('is_featured', models.BooleanField(db_index=True, default=False, verbose_name='is featured')), ], options={ 'ordering': ['-publishing_date'], }, bases=(aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, aldryn_translation_tools.models.TranslationHelperMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='Dashboards_appArchivePlugin', fields=[ ('cache_duration', models.PositiveSmallIntegerField( default=0, help_text= "The maximum duration (in seconds) that this plugin's content should be cached." )), ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin', models.Model), ), migrations.CreateModel( name='Dashboards_appAuthorsPlugin', fields=[ ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin'), ), migrations.CreateModel( name='Dashboards_appCategoriesPlugin', fields=[ ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin'), ), migrations.CreateModel( name='Dashboards_appConfig', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type', models.CharField(max_length=100, verbose_name='Type')), ('namespace', models.CharField(default=None, max_length=100, unique=True, verbose_name='Instance namespace')), ('app_data', app_data.fields.AppDataField(default='{}', editable=False)), ('permalink_type', models.CharField( choices=[('s', 'the-eagle-has-landed/'), ('ys', '1969/the-eagle-has-landed/'), ('yms', '1969/07/the-eagle-has-landed/'), ('ymds', '1969/07/16/the-eagle-has-landed/'), ('ymdi', '1969/07/16/11/')], default='slug', help_text= 'Choose the style of urls to use from the examples. (Note, all types are relative to apphook)', max_length=8, verbose_name='permalink type')), ('non_permalink_handling', models.SmallIntegerField( choices=[(200, 'Allow'), (302, 'Redirect to permalink (default)'), (301, 'Permanent redirect to permalink'), (404, 'Return 404: Not Found')], default=302, help_text='How to handle non-permalink urls?', verbose_name='non-permalink handling')), ('paginate_by', models.PositiveIntegerField( default=5, help_text= 'When paginating list views, how many dashboards per page?', verbose_name='Paginate size')), ('pagination_pages_start', models.PositiveIntegerField( default=10, help_text= 'When paginating list views, after how many pages should we start grouping the page numbers.', verbose_name='Pagination pages start')), ('pagination_pages_visible', models.PositiveIntegerField( default=4, help_text= 'When grouping page numbers, this determines how many pages are visible on each side of the active page.', verbose_name='Pagination pages visible')), ('exclude_featured', models.PositiveSmallIntegerField( blank=True, default=0, help_text= 'If you are using the Featured Dashboards plugin on the dashboard list view, you may prefer to exclude featured dashboards from the dashboard list itself to avoid duplicates. To do this, enter the same number here as in your Featured Dashboards plugin.', verbose_name='Excluded featured dashboards count')), ('template_prefix', models.CharField(blank=True, max_length=20, null=True, verbose_name='Prefix for template dirs')), ('create_authors', models.BooleanField( default=True, help_text= 'Automatically create authors from logged-in user?', verbose_name='Auto-create authors?')), ('search_indexed', models.BooleanField( default=True, help_text='Include dashboards in search indexes?', verbose_name='Include in search index?')), ('placeholder_base_sidebar', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_base_sidebar', slotname='dashboards_app_base_sidebar', to='cms.Placeholder')), ('placeholder_base_top', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_base_top', slotname='dashboards_app_base_top', to='cms.Placeholder')), ('placeholder_detail_bottom', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_detail_bottom', slotname='dashboards_app_detail_bottom', to='cms.Placeholder')), ('placeholder_detail_footer', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_detail_footer', slotname='dashboards_app_detail_footer', to='cms.Placeholder')), ('placeholder_detail_top', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_detail_top', slotname='dashboards_app_detail_top', to='cms.Placeholder')), ('placeholder_list_footer', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_list_footer', slotname='dashboards_app_list_footer', to='cms.Placeholder')), ('placeholder_list_top', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboards_app_list_top', slotname='dashboards_app_list_top', to='cms.Placeholder')), ], options={ 'verbose_name_plural': 'Sections', 'verbose_name': 'Section', }, bases=(parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='Dashboards_appConfigTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('app_title', models.CharField(max_length=234, verbose_name='name')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='dashboards_app.Dashboards_appConfig')), ], options={ 'default_permissions': (), 'db_table': 'dashboards_app_dashboards_appconfig_translation', 'db_tablespace': '', 'managed': True, 'verbose_name': 'Section Translation', }, ), migrations.CreateModel( name='Dashboards_appDashboardSearchPlugin', fields=[ ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ('max_dashboards', models.PositiveIntegerField( default=10, help_text= 'The maximum number of found dashboards display.', validators=[django.core.validators.MinValueValidator(1)], verbose_name='max dashboards')), ('app_config', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration')), ], options={ 'abstract': False, }, bases=('cms.cmsplugin', ), ), migrations.CreateModel( name='Dashboards_appFeaturedDashboardsPlugin', fields=[ ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ('dashboard_count', models.PositiveIntegerField( default=1, help_text= 'The maximum number of featured dashboards display.', validators=[django.core.validators.MinValueValidator(1) ])), ('app_config', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin'), ), migrations.CreateModel( name='Dashboards_appLatestDashboardsPlugin', fields=[ ('cache_duration', models.PositiveSmallIntegerField( default=0, help_text= "The maximum duration (in seconds) that this plugin's content should be cached." )), ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ('latest_dashboards', models.IntegerField( default=5, help_text= 'The maximum number of latest dashboards to display.')), ('exclude_featured', models.PositiveSmallIntegerField( blank=True, default=0, help_text= 'The maximum number of featured dashboards to exclude from display. E.g. for uses in combination with featured dashboards plugin.' )), ('app_config', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin', models.Model), ), migrations.CreateModel( name='Dashboards_appRelatedPlugin', fields=[ ('cache_duration', models.PositiveSmallIntegerField( default=0, help_text= "The maximum duration (in seconds) that this plugin's content should be cached." )), ('cmsplugin_ptr', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='+', serialize=False, to='cms.CMSPlugin')), ], options={ 'abstract': False, }, bases=(dashboards_app.models.PluginEditModeMixin, 'cms.cmsplugin', models.Model), ), migrations.CreateModel( name='DashboardTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('title', models.CharField(max_length=234, verbose_name='title')), ('slug', models.SlugField( blank=True, help_text= 'Used in the URL. If changed, the URL will change. Clear it to have it re-created automatically.', max_length=255, verbose_name='slug')), ('lead_in', djangocms_text_ckeditor.fields.HTMLField( blank=True, default='', help_text= 'The lead gives the reader the main idea of the story, this is useful in overviews, lists or as an introduction to your dashboard.', verbose_name='lead')), ('meta_title', models.CharField(blank=True, default='', max_length=255, verbose_name='meta title')), ('meta_description', models.TextField(blank=True, default='', verbose_name='meta description')), ('meta_keywords', models.TextField(blank=True, default='', verbose_name='meta keywords')), ('search_data', models.TextField(blank=True, editable=False)), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='dashboards_app.Dashboard')), ], options={ 'default_permissions': (), 'db_table': 'dashboards_app_dashboard_translation', 'db_tablespace': '', 'managed': True, 'verbose_name': 'dashboard Translation', }, ), migrations.AddField( model_name='dashboards_appcategoriesplugin', name='app_config', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration'), ), migrations.AddField( model_name='dashboards_appauthorsplugin', name='app_config', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration'), ), migrations.AddField( model_name='dashboards_apparchiveplugin', name='app_config', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Apphook configuration'), ), migrations.AddField( model_name='dashboard', name='app_config', field=aldryn_apphooks_config.fields.AppHookConfigField( help_text= 'When selecting a value, the form is reloaded to get the updated default', on_delete=django.db.models.deletion.CASCADE, to='dashboards_app.Dashboards_appConfig', verbose_name='Section'), ), migrations.AddField( model_name='dashboard', name='author', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aldryn_people.Person', verbose_name='author'), ), migrations.AddField( model_name='dashboard', name='categories', field=aldryn_categories.fields.CategoryManyToManyField( blank=True, to='aldryn_categories.Category', verbose_name='categories'), ), migrations.AddField( model_name='dashboard', name='content', field=cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboard_content', slotname='dashboard_content', to='cms.Placeholder'), ), migrations.AddField( model_name='dashboard', name='featured_image', field=filer.fields.image.FilerImageField( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.FILER_IMAGE_MODEL, verbose_name='featured image'), ), migrations.AddField( model_name='dashboard', name='owner', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='owner'), ), migrations.AddField( model_name='dashboard', name='related', field=sortedm2m.fields.SortedManyToManyField( blank=True, help_text=None, to='dashboards_app.Dashboard', verbose_name='related dashboards'), ), migrations.AddField( model_name='dashboard', name='sidebar_content', field=cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='dashboard_sidebar_content', slotname='dashboard_sidebar_content', to='cms.Placeholder'), ), migrations.AlterUniqueTogether( name='dashboardtranslation', unique_together=set([('language_code', 'master'), ('language_code', 'slug')]), ), migrations.AlterUniqueTogether( name='dashboards_appconfigtranslation', unique_together=set([('language_code', 'master')]), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('aldryn_categories', '0007_categorytranslation_landing_page'), migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), ('aldryn_people', '0026_person_services'), ('cms', '0020_old_tree_cleanup'), ] operations = [ migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('latitude', models.DecimalField(blank=True, decimal_places=5, max_digits=8, null=True, verbose_name='Event latitude')), ('longitude', models.DecimalField(blank=True, decimal_places=5, max_digits=8, null=True, verbose_name='Event longitude')), ('start_date', models.DateField(verbose_name='Sart date')), ('start_time', models.TimeField(blank=True, null=True, verbose_name='Sart time')), ('end_date', models.DateField(blank=True, null=True, verbose_name='End date')), ('end_time', models.TimeField(blank=True, null=True, verbose_name='Sart time')), ('registration_until', models.DateTimeField(blank=True, null=True, verbose_name='Allow registration until')), ('registration_link', models.CharField(blank=True, default='', help_text='link to an external registration system', max_length=255, verbose_name='Registration link')), ('external_link', models.CharField(blank=True, default='', help_text='link to an external registration system', max_length=255, verbose_name='External link')), ('publishing_date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='publishing date')), ('is_published', models.BooleanField(db_index=True, default=False, verbose_name='is published')), ('is_featured', models.BooleanField(db_index=True, default=False, verbose_name='is featured')), ], options={ 'ordering': ['-publishing_date'], }, bases=(aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, aldryn_translation_tools.models.TranslationHelperMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='EventsConfig', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type', models.CharField(max_length=100, verbose_name='Type')), ('namespace', models.CharField(default=None, max_length=100, unique=True, verbose_name='Instance namespace')), ('app_data', app_data.fields.AppDataField(default='{}', editable=False)), ('permalink_type', models.CharField(choices=[('s', 'the-eagle-has-landed/'), ('ys', '1969/the-eagle-has-landed/'), ('yms', '1969/07/the-eagle-has-landed/'), ('ymds', '1969/07/16/the-eagle-has-landed/'), ('ymdi', '1969/07/16/11/')], default='slug', help_text='Choose the style of urls to use from the examples. (Note, all types are relative to apphook)', max_length=8, verbose_name='permalink type')), ('non_permalink_handling', models.SmallIntegerField(choices=[(200, 'Allow'), (302, 'Redirect to permalink (default)'), (301, 'Permanent redirect to permalink'), (404, 'Return 404: Not Found')], default=302, help_text='How to handle non-permalink urls?', verbose_name='non-permalink handling')), ('paginate_by', models.PositiveIntegerField(default=5, help_text='When paginating list views, how many events per page?', verbose_name='Paginate size')), ('pagination_pages_start', models.PositiveIntegerField(default=10, help_text='When paginating list views, after how many pages should we start grouping the page numbers.', verbose_name='Pagination pages start')), ('pagination_pages_visible', models.PositiveIntegerField(default=4, help_text='When grouping page numbers, this determines how many pages are visible on each side of the active page.', verbose_name='Pagination pages visible')), ('exclude_featured', models.PositiveSmallIntegerField(blank=True, default=0, help_text='If you are using the Featured events plugin on the event list view, you may prefer to exclude featured events from the event list itself to avoid duplicates. To do this, enter the same number here as in your Featured events plugin.', verbose_name='Excluded featured events count')), ('template_prefix', models.CharField(blank=True, max_length=20, null=True, verbose_name='Prefix for template dirs')), ('search_indexed', models.BooleanField(default=True, help_text='Include events in search indexes?', verbose_name='Include in search index?')), ], options={ 'verbose_name': 'Section', 'verbose_name_plural': 'Sections', }, bases=(parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='EventsConfigTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('app_title', models.CharField(max_length=234, verbose_name='name')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='js_events.EventsConfig')), ], options={ 'verbose_name': 'Section Translation', 'db_table': 'js_events_eventsconfig_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.CreateModel( name='EventTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('title', models.CharField(max_length=234, verbose_name='title')), ('slug', models.SlugField(blank=True, help_text='Used in the URL. If changed, the URL will change. Clear it to have it re-created automatically.', max_length=255, verbose_name='slug')), ('lead_in', djangocms_text_ckeditor.fields.HTMLField(blank=True, default='', help_text='The Summary gives the reader the main idea of the story, this is useful in overviews, lists or as an introduction to your event.', verbose_name='Summary')), ('location', djangocms_text_ckeditor.fields.HTMLField(blank=True, default='', verbose_name='Location')), ('meta_title', models.CharField(blank=True, default='', max_length=255, verbose_name='meta title')), ('meta_description', models.TextField(blank=True, default='', verbose_name='meta description')), ('meta_keywords', models.TextField(blank=True, default='', verbose_name='meta keywords')), ('search_data', models.TextField(blank=True, editable=False)), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='js_events.Event')), ], options={ 'verbose_name': 'event Translation', 'db_table': 'js_events_event_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.AddField( model_name='event', name='app_config', field=aldryn_apphooks_config.fields.AppHookConfigField(help_text='When selecting a value, the form is reloaded to get the updated default', on_delete=django.db.models.deletion.CASCADE, to='js_events.EventsConfig', verbose_name='Section'), ), migrations.AddField( model_name='event', name='categories', field=aldryn_categories.fields.CategoryManyToManyField(blank=True, to='aldryn_categories.Category', verbose_name='categories'), ), migrations.AddField( model_name='event', name='content', field=cms.models.fields.PlaceholderField(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='newsblog_event_content', slotname='newsblog_event_content', to='cms.Placeholder'), ), migrations.AddField( model_name='event', name='featured_image', field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.FILER_IMAGE_MODEL, verbose_name='featured image'), ), migrations.AddField( model_name='event', name='host', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aldryn_people.Person', verbose_name='host'), ), migrations.AddField( model_name='event', name='host_2', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='host_2', to='aldryn_people.Person', verbose_name='second host'), ), migrations.AddField( model_name='event', name='host_3', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='host_3', to='aldryn_people.Person', verbose_name='third host'), ), migrations.AddField( model_name='event', name='related', field=sortedm2m.fields.SortedManyToManyField(blank=True, help_text=None, to='js_events.Event', verbose_name='related events'), ), migrations.AlterUniqueTogether( name='eventtranslation', unique_together=set([('language_code', 'slug'), ('language_code', 'master')]), ), migrations.AlterUniqueTogether( name='eventsconfigtranslation', unique_together=set([('language_code', 'master')]), ), ]
class Migration(migrations.Migration): dependencies = [ ('aldryn_people', '0023_person_categories'), ] operations = [ migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('address', models.TextField(blank=True, verbose_name='address')), ('postal_code', models.CharField(blank=True, max_length=20, verbose_name='postal code')), ('city', models.CharField(blank=True, max_length=255, verbose_name='city')), ('phone', models.CharField(blank=True, max_length=100, null=True, verbose_name='phone')), ('fax', models.CharField(blank=True, max_length=100, null=True, verbose_name='fax')), ('email', models.EmailField(blank=True, default='', max_length=254, verbose_name='email')), ('website', models.URLField(blank=True, null=True, verbose_name='website')), ('lat', models.FloatField(blank=True, null=True, verbose_name='Latitude')), ('lng', models.FloatField(blank=True, null=True, verbose_name='Longitude')), ('is_published', models.BooleanField(default=True, verbose_name='show on website')), ], options={ 'verbose_name': 'Location', 'verbose_name_plural': 'Locations', }, bases=(aldryn_translation_tools.models.TranslationHelperMixin, aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='LocationTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('name', models.CharField(max_length=255, verbose_name='Display name')), ('slug', models.SlugField( blank=True, default='', help_text='Leave blank to auto-generate a unique slug.', max_length=255, verbose_name='slug')), ('office', models.CharField(blank=True, max_length=255, verbose_name='Office name')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='aldryn_people.Location')), ], options={ 'verbose_name': 'Location Translation', 'db_table': 'aldryn_people_location_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.AlterField( model_name='person', name='location', field=models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aldryn_people.Location', verbose_name='location'), ), migrations.AlterUniqueTogether( name='locationtranslation', unique_together=set([('language_code', 'master')]), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), ('cms', '0022_auto_20180620_1551'), ] operations = [ migrations.CreateModel( name='Doctor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone', models.CharField(blank=True, max_length=100, null=True, verbose_name='phone')), ('mobile', models.CharField(blank=True, max_length=100, null=True, verbose_name='mobile')), ('email', models.EmailField(blank=True, default='', max_length=254, verbose_name='email')), ('website', models.URLField(blank=True, null=True, verbose_name='website')), ('facebook', models.URLField(blank=True, verbose_name='Facebook')), ('twitter', models.URLField(blank=True, verbose_name='Twitter')), ('linkedin', models.URLField(blank=True, verbose_name='LinkedIn')), ], options={ 'verbose_name': 'Doctor', 'verbose_name_plural': 'Doctors', }, bases=(aldryn_translation_tools.models.TranslationHelperMixin, aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='DoctorsPlugin', fields=[ ('style', models.CharField(choices=[('standard', 'Standard'), ('carousel', 'Carousel')], default='standard', max_length=50, verbose_name='Style')), ('cmsplugin_ptr', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='nnuh_doctors_doctorsplugin', serialize=False, to='cms.CMSPlugin')), ('show_links', models.BooleanField(default=False, verbose_name='Show links to Detail Page')), ('doctors', aldryn_common.admin_fields.sortedm2m.SortedM2MModelField(blank=True, help_text='Select and arrange specific doctors, or, leave blank to select all.', to='nnuh_doctors.Doctor')), ], options={ 'abstract': False, }, bases=('cms.cmsplugin',), ), migrations.CreateModel( name='DoctorTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('name', models.CharField(default='', help_text="Provide this person's name.", max_length=255, verbose_name='name')), ('slug', models.SlugField(blank=True, default='', help_text='Leave blank to auto-generate a unique slug.', max_length=255, verbose_name='unique slug')), ('speciality', models.CharField(max_length=255, verbose_name='speciality')), ('sub_speciality', models.CharField(max_length=255, verbose_name='sub speciality')), ('function', models.CharField(blank=True, default='', max_length=255, verbose_name='role')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='nnuh_doctors.Doctor')), ], options={ 'verbose_name': 'Doctor Translation', 'db_table': 'nnuh_doctors_doctor_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.CreateModel( name='Section', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('page', models.ForeignKey(blank=True, help_text='If provided, overrides the external link.', null=True, on_delete=django.db.models.deletion.SET_NULL, to='cms.Page', verbose_name='Internal link')), ], options={ 'verbose_name': 'Section', 'verbose_name_plural': 'Sections', }, bases=(aldryn_translation_tools.models.TranslationHelperMixin, aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='SectionTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('title', models.CharField(help_text="Provide this section's title.", max_length=255, verbose_name='title')), ('slug', models.SlugField(blank=True, default='', help_text='Leave blank to auto-generate a unique slug.', max_length=255, verbose_name='slug')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='nnuh_doctors.Section')), ], options={ 'verbose_name': 'Section Translation', 'db_table': 'nnuh_doctors_section_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.AddField( model_name='doctor', name='section', field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='doctors', to='nnuh_doctors.Section', verbose_name='Section'), ), migrations.AddField( model_name='doctor', name='visual', field=filer.fields.image.FilerImageField(blank=True, default=None, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.FILER_IMAGE_MODEL), ), migrations.AlterUniqueTogether( name='sectiontranslation', unique_together={('language_code', 'master')}, ), migrations.AlterUniqueTogether( name='doctortranslation', unique_together={('language_code', 'master')}, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('cms', '0020_old_tree_cleanup'), ('aldryn_categories', '0004_auto_20150623_0859'), migrations.swappable_dependency(settings.FILER_IMAGE_MODEL), ] operations = [ migrations.CreateModel( name='Service', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('publishing_date', models.DateTimeField(default=django.utils.timezone.now, verbose_name='publishing date')), ('is_published', models.BooleanField(db_index=True, default=False, verbose_name='is published')), ('is_featured', models.BooleanField(db_index=True, default=False, verbose_name='is featured')), ('categories', aldryn_categories.fields.CategoryManyToManyField( blank=True, to='aldryn_categories.Category', verbose_name='categories')), ('content', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='newsblog_service_content', slotname='newsblog_service_content', to='cms.Placeholder')), ('featured_image', filer.fields.image.FilerImageField( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.FILER_IMAGE_MODEL, verbose_name='featured image')), ], options={ 'ordering': ['-publishing_date'], }, bases=(aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, aldryn_translation_tools.models.TranslationHelperMixin, parler.models.TranslatableModelMixin, models.Model), ), migrations.CreateModel( name='ServiceTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('title', models.CharField(max_length=234, verbose_name='title')), ('slug', models.SlugField( blank=True, help_text= 'Used in the URL. If changed, the URL will change. Clear it to have it re-created automatically.', max_length=255, verbose_name='slug')), ('lead_in', djangocms_text_ckeditor.fields.HTMLField( blank=True, default='', help_text= 'The Summary gives the reader the main idea of the story, this is useful in overviews, lists or as an introduction to your service.', verbose_name='Summary')), ('meta_title', models.CharField(blank=True, default='', max_length=255, verbose_name='meta title')), ('meta_description', models.TextField(blank=True, default='', verbose_name='meta description')), ('meta_keywords', models.TextField(blank=True, default='', verbose_name='meta keywords')), ('search_data', models.TextField(blank=True, editable=False)), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='js_services.Service')), ], options={ 'verbose_name': 'service Translation', 'db_table': 'js_services_service_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.AlterUniqueTogether( name='servicetranslation', unique_together=set([('language_code', 'slug'), ('language_code', 'master')]), ), ]
class Migration(migrations.Migration): replaces = [('plugin_landing_page', '0001_initial'), ('plugin_landing_page', '0002_auto_20180219_1534'), ('plugin_landing_page', '0003_auto_20180219_1611')] initial = True dependencies = [ ('cms', '0016_auto_20160608_1535'), ] operations = [ migrations.CreateModel( name='LandingPageModel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('publisher_is_draft', models.BooleanField(db_index=True, default=True, editable=False)), ('publisher_modified_at', models.DateTimeField(default=django.utils.timezone.now, editable=False)), ('publisher_published_at', models.DateTimeField(editable=False, null=True)), ('publication_start_date', models.DateTimeField( blank=True, db_index=True, help_text= 'Published content will only be visible from this point in time. Leave blank if always visible.', null=True, verbose_name='publication start date')), ('publication_end_date', models.DateTimeField( blank=True, db_index=True, help_text= 'When to expire the published version. Leave empty to never expire.', null=True, verbose_name='publication end date')), ('createtime', models.DateTimeField(default=django.utils.timezone.now, editable=False, help_text='Create time')), ('lastupdatetime', models.DateTimeField(default=django.utils.timezone.now, editable=False, help_text='Time of the last change.')), ('robots_index', models.BooleanField( default=True, help_text= "If checked: meta robots 'index' is set, otherwise 'noindex'.", verbose_name='Robots-Index')), ('robots_follow', models.BooleanField( default=True, help_text= "If checked: meta robots 'follow' is set, otherwise 'nofollow'.", verbose_name='Robots-Follow')), ('content', cms.models.fields.PlaceholderField( editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, slotname='landing-page-content', to='cms.Placeholder')), ('publisher_linked', models.OneToOneField( editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='publisher_draft', to='plugin_landing_page.LandingPageModel')), ], options={ 'verbose_name': 'LandingPage', 'verbose_name_plural': 'LandingPages', 'ordering': ('-createtime', ), }, bases=( django_cms_tools.permissions.EditModeAndChangePermissionMixin, aldryn_translation_tools.models.TranslatedAutoSlugifyMixin, parler.models.TranslatableModelMixin, django_tools.permissions.ModelPermissionMixin, models.Model), ), migrations.CreateModel( name='LandingPageModelTranslation', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('language_code', models.CharField(db_index=True, max_length=15, verbose_name='Language')), ('title', models.CharField(max_length=234, verbose_name='Title')), ('slug', models.SlugField( blank=True, help_text= 'Used in the URL. If changed, the URL will change. Clear it to have it re-created automatically.', max_length=255, verbose_name='Slug')), ('master', models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='translations', to='plugin_landing_page.LandingPageModel')), ], options={ 'verbose_name': 'LandingPage Translation', 'db_table': 'plugin_landing_page_landingpagemodel_translation', 'db_tablespace': '', 'managed': True, 'default_permissions': (), }, ), migrations.AlterUniqueTogether( name='landingpagemodeltranslation', unique_together=set([('language_code', 'master')]), ), migrations.AlterModelOptions( name='landingpagemodel', options={ 'default_permissions': ('add', 'change', 'delete', 'can_publish'), 'ordering': ('-createtime', ), 'verbose_name': 'Landing Page', 'verbose_name_plural': 'Landing Pages' }, ), migrations.AlterModelOptions( name='landingpagemodeltranslation', options={ 'default_permissions': (), 'managed': True, 'verbose_name': 'Landing Page Translation' }, ), ]