text: # flake8: noqa
  # -*- coding: utf-8 -*-
  from south.utils import datetime_utils as datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          # Adding field 'NewsEntryTranslation.meta_title'
          db.add_column(u'multilingual_news_newsentry_translation', 'meta_title',
                        self.gf('django.db.models.fields.CharField')(max_length=128, null=True, blank=True),
                        keep_default=False)
  
          # Adding field 'NewsEntryTranslation.meta_description'
          db.add_column(u'multilingual_news_newsentry_translation', 'meta_description',
                        self.gf('django.db.models.fields.TextField')(max_length=512, null=True, blank=True),
                        keep_default=False)
  
  
      def backwards(self, orm):
          # Deleting field 'NewsEntryTranslation.meta_title'
          db.delete_column(u'multilingual_news_newsentry_translation', 'meta_title')
  
          # Deleting field 'NewsEntryTranslation.meta_description'
          db.delete_column(u'multilingual_news_newsentry_translation', 'meta_description')
  
  
      models = {
          u'auth.group': {
              'Meta': {'object_name': 'Group'},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
              'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
          },
          u'auth.permission': {
              'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
              'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
          },
          u'auth.user': {
              'Meta': {'object_name': 'User'},
              'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
              'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
              'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
              'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
              'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
              'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
              'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
          },
          'cms.cmsplugin': {
              'Meta': {'object_name': 'CMSPlugin'},
              'changed_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
              'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
              'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
              'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
              'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
              'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
              'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
          },
          'cms.placeholder': {
              'Meta': {'object_name': 'Placeholder'},
              'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
          },
          u'contenttypes.contenttype': {
              'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
              'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          },
          'filer.file': {
              'Meta': {'object_name': 'File'},
              '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
              'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
              'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}),
              'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': u"orm['auth.User']"}),
              'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': u"orm['contenttypes.ContentType']"}),
              'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
              'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
          },
          'filer.folder': {
              'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
              'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              u'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              u'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
              'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': u"orm['auth.User']"}),
              'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
              u'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              u'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
              'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
          },
          'filer.image': {
              'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
              '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
              'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
              u'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
              'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
          },
          u'multilingual_news.category': {
              'Meta': {'object_name': 'Category'},
              'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['multilingual_news.Category']", 'null': 'True', 'blank': 'True'}),
              'slug': ('django.db.models.fields.SlugField', [], {'max_length': '512'})
          },
          u'multilingual_news.categoryplugin': {
              'Meta': {'object_name': 'CategoryPlugin', '_ormbases': ['cms.CMSPlugin']},
              'categories': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['multilingual_news.Category']", 'symmetrical': 'False'}),
              u'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
              'template_argument': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'})
          },
          u'multilingual_news.categorytranslation': {
              'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'CategoryTranslation', 'db_table': "u'multilingual_news_category_translation'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
              'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['multilingual_news.Category']"}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '256'})
          },
          u'multilingual_news.newsentry': {
              'Meta': {'ordering': "('-pub_date',)", 'object_name': 'NewsEntry'},
              'author': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
              'categories': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'newsentries'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['multilingual_news.Category']"}),
              'content': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'multilingual_news_contents'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
              'excerpt': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'multilingual_news_excerpts'", 'null': 'True', 'to': "orm['cms.Placeholder']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']", 'null': 'True', 'blank': 'True'}),
              'image_float': ('django.db.models.fields.CharField', [], {'max_length': '8', 'blank': 'True'}),
              'image_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'image_source_text': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
              'image_source_url': ('django.db.models.fields.CharField', [], {'max_length': '1024', 'blank': 'True'}),
              'image_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
              'pub_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'})
          },
          u'multilingual_news.newsentrytranslation': {
              'Meta': {'unique_together': "[('language_code', 'master')]", 'object_name': 'NewsEntryTranslation', 'db_table': "u'multilingual_news_newsentry_translation'"},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_published': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
              'language_code': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
              'master': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'translations'", 'null': 'True', 'to': u"orm['multilingual_news.NewsEntry']"}),
              'meta_description': ('django.db.models.fields.TextField', [], {'max_length': '512', 'null': 'True', 'blank': 'True'}),
              'meta_title': ('django.db.models.fields.CharField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
              'slug': ('django.db.models.fields.SlugField', [], {'max_length': '512'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '512'})
          },
          u'multilingual_news.recentplugin': {
              'Meta': {'object_name': 'RecentPlugin', '_ormbases': ['cms.CMSPlugin']},
              u'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
              'current_language_only': ('django.db.models.fields.BooleanField', [], {}),
              'limit': ('django.db.models.fields.PositiveIntegerField', [], {})
          }
      }
  
      complete_apps = ['multilingual_news']
  