# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import datetime class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='News', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('newsbox_creation_date', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), ('newsbox_changed_date', models.DateTimeField(auto_now=True, verbose_name='last update date')), ('newsbox_date', models.DateTimeField(default=None, help_text='Date of the event related to this news', null=True, verbose_name='date', blank=True)), ('newsbox_publication_start_date', models.DateTimeField(default=datetime.datetime.now, help_text='When the news should go live. Status must be "Published" for news to go live.', verbose_name='publication start date', db_index=True)), ('newsbox_published', models.BooleanField(default=True, verbose_name='published')), ('newsbox_title', models.CharField(max_length=255, verbose_name='title')), ('newsbox_slug', models.SlugField(help_text='The part of the title that is used in the URL', verbose_name='slug')), ('newsbox_summary', models.TextField(verbose_name='summary')), ('newsbox_body', models.TextField(verbose_name='body', blank=True)), ], options={ 'ordering': ('-newsbox_publication_start_date',), 'verbose_name': 'news - Basic', 'verbose_name_plural': 'news - Basic', }, ), migrations.CreateModel( name='NewsComplete', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('newsbox_creation_date', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), ('newsbox_changed_date', models.DateTimeField(auto_now=True, verbose_name='last update date')), ('newsbox_date', models.DateTimeField(default=None, help_text='Date of the event related to this news', null=True, verbose_name='date', blank=True)), ('newsbox_publication_start_date', models.DateTimeField(default=datetime.datetime.now, help_text='When the news should go live. Status must be "Published" for news to go live.', verbose_name='publication start date', db_index=True)), ('newsbox_published', models.BooleanField(default=True, verbose_name='published')), ('newsbox_publication_end_date', models.DateTimeField(help_text='When to expire the news.Leave empty to never expire.', null=True, verbose_name='publication end date', db_index=True, blank=True)), ('newsbox_indexed', models.BooleanField(default=True, help_text='An unindexed news will not be indexed by search engines.', verbose_name='indexed')), ('newsbox_meta_description', models.TextField(max_length=255, null=True, verbose_name='meta description', blank=True)), ('newsbox_meta_keywords', models.CharField(max_length=255, null=True, verbose_name='meta keywords', blank=True)), ('newsbox_title', models.CharField(max_length=255, verbose_name='title')), ('newsbox_slug', models.SlugField(help_text='The part of the title that is used in the URL', verbose_name='slug')), ('newsbox_summary', models.TextField(verbose_name='summary')), ('newsbox_body', models.TextField(verbose_name='body', blank=True)), ], options={ 'ordering': ('-newsbox_publication_start_date',), 'verbose_name': 'news - Complete', 'verbose_name_plural': 'news - Complete', }, ), migrations.CreateModel( name='NewsExpired', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('newsbox_creation_date', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), ('newsbox_changed_date', models.DateTimeField(auto_now=True, verbose_name='last update date')), ('newsbox_date', models.DateTimeField(default=None, help_text='Date of the event related to this news', null=True, verbose_name='date', blank=True)), ('newsbox_publication_start_date', models.DateTimeField(default=datetime.datetime.now, help_text='When the news should go live. Status must be "Published" for news to go live.', verbose_name='publication start date', db_index=True)), ('newsbox_published', models.BooleanField(default=True, verbose_name='published')), ('newsbox_publication_end_date', models.DateTimeField(help_text='When to expire the news.Leave empty to never expire.', null=True, verbose_name='publication end date', db_index=True, blank=True)), ('newsbox_title', models.CharField(max_length=255, verbose_name='title')), ('newsbox_slug', models.SlugField(help_text='The part of the title that is used in the URL', verbose_name='slug')), ('newsbox_summary', models.TextField(verbose_name='summary')), ('newsbox_body', models.TextField(verbose_name='body', blank=True)), ], options={ 'ordering': ('-newsbox_publication_start_date',), 'verbose_name': 'news - Expirable', 'verbose_name_plural': 'news - Expirable', }, ), migrations.CreateModel( name='NewsExtended', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('newsbox_creation_date', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), ('newsbox_changed_date', models.DateTimeField(auto_now=True, verbose_name='last update date')), ('newsbox_date', models.DateTimeField(default=None, help_text='Date of the event related to this news', null=True, verbose_name='date', blank=True)), ('newsbox_publication_start_date', models.DateTimeField(default=datetime.datetime.now, help_text='When the news should go live. Status must be "Published" for news to go live.', verbose_name='publication start date', db_index=True)), ('newsbox_published', models.BooleanField(default=True, verbose_name='published')), ('newsbox_publication_end_date', models.DateTimeField(help_text='When to expire the news.Leave empty to never expire.', null=True, verbose_name='publication end date', db_index=True, blank=True)), ('newsbox_indexed', models.BooleanField(default=True, help_text='An unindexed news will not be indexed by search engines.', verbose_name='indexed')), ('general_field', models.CharField(max_length=50)), ('content_field', models.CharField(max_length=50)), ('seo_field', models.CharField(max_length=50)), ('newsbox_meta_description', models.TextField(max_length=255, null=True, verbose_name='meta description', blank=True)), ('newsbox_meta_keywords', models.CharField(max_length=255, null=True, verbose_name='meta keywords', blank=True)), ('newsbox_title', models.CharField(max_length=255, verbose_name='title')), ('newsbox_slug', models.SlugField(help_text='The part of the title that is used in the URL', verbose_name='slug')), ('newsbox_summary', models.TextField(verbose_name='summary')), ('newsbox_body', models.TextField(verbose_name='body', blank=True)), ], options={ 'ordering': ('-newsbox_publication_start_date',), 'verbose_name': 'news - Extended', 'verbose_name_plural': 'news - Extended', }, ), migrations.CreateModel( name='NewsSEO', fields=[ ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('newsbox_creation_date', models.DateTimeField(auto_now_add=True, verbose_name='creation date')), ('newsbox_changed_date', models.DateTimeField(auto_now=True, verbose_name='last update date')), ('newsbox_date', models.DateTimeField(default=None, help_text='Date of the event related to this news', null=True, verbose_name='date', blank=True)), ('newsbox_publication_start_date', models.DateTimeField(default=datetime.datetime.now, help_text='When the news should go live. Status must be "Published" for news to go live.', verbose_name='publication start date', db_index=True)), ('newsbox_published', models.BooleanField(default=True, verbose_name='published')), ('newsbox_indexed', models.BooleanField(default=True, help_text='An unindexed news will not be indexed by search engines.', verbose_name='indexed')), ('newsbox_meta_description', models.TextField(max_length=255, null=True, verbose_name='meta description', blank=True)), ('newsbox_meta_keywords', models.CharField(max_length=255, null=True, verbose_name='meta keywords', blank=True)), ('newsbox_title', models.CharField(max_length=255, verbose_name='title')), ('newsbox_slug', models.SlugField(help_text='The part of the title that is used in the URL', verbose_name='slug')), ('newsbox_summary', models.TextField(verbose_name='summary')), ('newsbox_body', models.TextField(verbose_name='body', blank=True)), ], options={ 'ordering': ('-newsbox_publication_start_date',), 'verbose_name': 'news - SEO', 'verbose_name_plural': 'news - SEO', }, ), ]