1 # -*- coding: utf-8 -*-
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
8 class Migration(SchemaMigration):
10 def forwards(self, orm):
11 # Adding field 'Category.taxonomy'
12 db.add_column('migdal_category', 'taxonomy',
13 self.gf('django.db.models.fields.CharField')(default='topics', max_length=32),
17 def backwards(self, orm):
18 # Deleting field 'Category.taxonomy'
19 db.delete_column('migdal_category', 'taxonomy')
23 'migdal.attachment': {
24 'Meta': {'object_name': 'Attachment'},
25 'entry': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['migdal.Entry']"}),
26 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
27 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
30 'Meta': {'object_name': 'Category'},
31 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
32 'slug_en': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}),
33 'slug_pl': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}),
34 'taxonomy': ('django.db.models.fields.CharField', [], {'max_length': '32'}),
35 'title_en': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_index': 'True'}),
36 'title_pl': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '64', 'db_index': 'True'})
39 'Meta': {'ordering': "['-date']", 'object_name': 'Entry'},
40 '_body_en_rendered': ('django.db.models.fields.TextField', [], {}),
41 '_body_pl_rendered': ('django.db.models.fields.TextField', [], {}),
42 '_lead_en_rendered': ('django.db.models.fields.TextField', [], {}),
43 '_lead_pl_rendered': ('django.db.models.fields.TextField', [], {}),
44 'author': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
45 'author_email': ('django.db.models.fields.EmailField', [], {'max_length': '128', 'null': 'True', 'blank': 'True'}),
46 'body_en': ('markupfield.fields.MarkupField', [], {'null': 'True', 'rendered_field': 'True', 'blank': 'True'}),
47 'body_en_markup_type': ('django.db.models.fields.CharField', [], {'default': "'textile_pl'", 'max_length': '30', 'blank': 'True'}),
48 'body_pl': ('markupfield.fields.MarkupField', [], {'null': 'True', 'rendered_field': 'True', 'blank': 'True'}),
49 'body_pl_markup_type': ('django.db.models.fields.CharField', [], {'default': "'textile_pl'", 'max_length': '30', 'blank': 'True'}),
50 'categories': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['migdal.Category']", 'null': 'True', 'blank': 'True'}),
51 'date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
52 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
53 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
54 'lead_en': ('markupfield.fields.MarkupField', [], {'null': 'True', 'rendered_field': 'True', 'blank': 'True'}),
55 'lead_en_markup_type': ('django.db.models.fields.CharField', [], {'default': "'textile_pl'", 'max_length': '30', 'blank': 'True'}),
56 'lead_pl': ('markupfield.fields.MarkupField', [], {'null': 'True', 'rendered_field': 'True', 'blank': 'True'}),
57 'lead_pl_markup_type': ('django.db.models.fields.CharField', [], {'default': "'textile_pl'", 'max_length': '30', 'blank': 'True'}),
58 'needed_en': ('django.db.models.fields.CharField', [], {'default': "'n'", 'max_length': '1', 'db_index': 'True'}),
59 'promo': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
60 'published_en': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
61 'published_pl': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
62 'slug_en': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
63 'slug_pl': ('django.db.models.fields.SlugField', [], {'max_length': '50', 'unique': 'True', 'null': 'True', 'blank': 'True'}),
64 'title_en': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
65 'title_pl': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
66 'type': ('django.db.models.fields.CharField', [], {'max_length': '16', 'db_index': 'True'})
70 complete_apps = ['migdal']