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):
12 # Changing field 'Collection.title_de'
13 db.alter_column(u'catalogue_collection', 'title_de', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
15 # Changing field 'Collection.description_fr'
16 db.alter_column(u'catalogue_collection', 'description_fr', self.gf('django.db.models.fields.TextField')(null=True))
18 # Changing field 'Collection.description_de'
19 db.alter_column(u'catalogue_collection', 'description_de', self.gf('django.db.models.fields.TextField')(null=True))
21 # Changing field 'Collection.description_uk'
22 db.alter_column(u'catalogue_collection', 'description_uk', self.gf('django.db.models.fields.TextField')(null=True))
24 # Changing field 'Collection.title_fr'
25 db.alter_column(u'catalogue_collection', 'title_fr', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
27 # Changing field 'Collection.description_lt'
28 db.alter_column(u'catalogue_collection', 'description_lt', self.gf('django.db.models.fields.TextField')(null=True))
30 # Changing field 'Collection.title_lt'
31 db.alter_column(u'catalogue_collection', 'title_lt', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
33 # Changing field 'Collection.description_pl'
34 db.alter_column(u'catalogue_collection', 'description_pl', self.gf('django.db.models.fields.TextField')(null=True))
36 # Changing field 'Collection.title_uk'
37 db.alter_column(u'catalogue_collection', 'title_uk', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
39 # Changing field 'Collection.description_ru'
40 db.alter_column(u'catalogue_collection', 'description_ru', self.gf('django.db.models.fields.TextField')(null=True))
42 # Changing field 'Collection.title_en'
43 db.alter_column(u'catalogue_collection', 'title_en', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
45 # Changing field 'Collection.description_en'
46 db.alter_column(u'catalogue_collection', 'description_en', self.gf('django.db.models.fields.TextField')(null=True))
48 # Changing field 'Collection.title_es'
49 db.alter_column(u'catalogue_collection', 'title_es', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
51 # Changing field 'Collection.description_es'
52 db.alter_column(u'catalogue_collection', 'description_es', self.gf('django.db.models.fields.TextField')(null=True))
54 # Changing field 'Collection.description_it'
55 db.alter_column(u'catalogue_collection', 'description_it', self.gf('django.db.models.fields.TextField')(null=True))
57 # Changing field 'Collection.title_pl'
58 db.alter_column(u'catalogue_collection', 'title_pl', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
60 # Changing field 'Collection.title_ru'
61 db.alter_column(u'catalogue_collection', 'title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
63 # Changing field 'Collection.title_it'
64 db.alter_column(u'catalogue_collection', 'title_it', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
66 # Changing field 'Tag.name_fr'
67 db.alter_column(u'catalogue_tag', 'name_fr', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
69 # Changing field 'Tag.wiki_link_fr'
70 db.alter_column(u'catalogue_tag', 'wiki_link_fr', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
72 # Changing field 'Tag.name_de'
73 db.alter_column(u'catalogue_tag', 'name_de', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
75 # Changing field 'Tag.description_fr'
76 db.alter_column(u'catalogue_tag', 'description_fr', self.gf('django.db.models.fields.TextField')(null=True))
78 # Changing field 'Tag.description_de'
79 db.alter_column(u'catalogue_tag', 'description_de', self.gf('django.db.models.fields.TextField')(null=True))
81 # Changing field 'Tag.description_uk'
82 db.alter_column(u'catalogue_tag', 'description_uk', self.gf('django.db.models.fields.TextField')(null=True))
84 # Changing field 'Tag.wiki_link_de'
85 db.alter_column(u'catalogue_tag', 'wiki_link_de', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
87 # Changing field 'Tag.name_ru'
88 db.alter_column(u'catalogue_tag', 'name_ru', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
90 # Changing field 'Tag.description_lt'
91 db.alter_column(u'catalogue_tag', 'description_lt', self.gf('django.db.models.fields.TextField')(null=True))
93 # Changing field 'Tag.name_it'
94 db.alter_column(u'catalogue_tag', 'name_it', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
96 # Changing field 'Tag.wiki_link_it'
97 db.alter_column(u'catalogue_tag', 'wiki_link_it', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
99 # Changing field 'Tag.name_pl'
100 db.alter_column(u'catalogue_tag', 'name_pl', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
102 # Changing field 'Tag.description_pl'
103 db.alter_column(u'catalogue_tag', 'description_pl', self.gf('django.db.models.fields.TextField')(null=True))
105 # Changing field 'Tag.wiki_link_pl'
106 db.alter_column(u'catalogue_tag', 'wiki_link_pl', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
108 # Changing field 'Tag.wiki_link_ru'
109 db.alter_column(u'catalogue_tag', 'wiki_link_ru', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
111 # Changing field 'Tag.description_ru'
112 db.alter_column(u'catalogue_tag', 'description_ru', self.gf('django.db.models.fields.TextField')(null=True))
114 # Changing field 'Tag.wiki_link_es'
115 db.alter_column(u'catalogue_tag', 'wiki_link_es', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
117 # Changing field 'Tag.name_es'
118 db.alter_column(u'catalogue_tag', 'name_es', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
120 # Changing field 'Tag.description_en'
121 db.alter_column(u'catalogue_tag', 'description_en', self.gf('django.db.models.fields.TextField')(null=True))
123 # Changing field 'Tag.description_es'
124 db.alter_column(u'catalogue_tag', 'description_es', self.gf('django.db.models.fields.TextField')(null=True))
126 # Changing field 'Tag.description_it'
127 db.alter_column(u'catalogue_tag', 'description_it', self.gf('django.db.models.fields.TextField')(null=True))
129 # Changing field 'Tag.name_en'
130 db.alter_column(u'catalogue_tag', 'name_en', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
132 # Changing field 'Tag.wiki_link_en'
133 db.alter_column(u'catalogue_tag', 'wiki_link_en', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
135 # Changing field 'Tag.wiki_link_uk'
136 db.alter_column(u'catalogue_tag', 'wiki_link_uk', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
138 # Changing field 'Tag.name_uk'
139 db.alter_column(u'catalogue_tag', 'name_uk', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
141 # Changing field 'Tag.wiki_link_lt'
142 db.alter_column(u'catalogue_tag', 'wiki_link_lt', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
144 # Changing field 'Tag.name_lt'
145 db.alter_column(u'catalogue_tag', 'name_lt', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
147 def backwards(self, orm):
149 # Changing field 'Collection.title_de'
150 db.alter_column(u'catalogue_collection', 'title_de', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
152 # Changing field 'Collection.description_fr'
153 db.alter_column(u'catalogue_collection', 'description_fr', self.gf('django.db.models.fields.TextField')(null=True))
155 # Changing field 'Collection.description_de'
156 db.alter_column(u'catalogue_collection', 'description_de', self.gf('django.db.models.fields.TextField')(null=True))
158 # Changing field 'Collection.description_uk'
159 db.alter_column(u'catalogue_collection', 'description_uk', self.gf('django.db.models.fields.TextField')(null=True))
161 # Changing field 'Collection.title_fr'
162 db.alter_column(u'catalogue_collection', 'title_fr', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
164 # Changing field 'Collection.description_lt'
165 db.alter_column(u'catalogue_collection', 'description_lt', self.gf('django.db.models.fields.TextField')(null=True))
167 # Changing field 'Collection.title_lt'
168 db.alter_column(u'catalogue_collection', 'title_lt', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
170 # Changing field 'Collection.description_pl'
171 db.alter_column(u'catalogue_collection', 'description_pl', self.gf('django.db.models.fields.TextField')(null=True))
173 # Changing field 'Collection.title_uk'
174 db.alter_column(u'catalogue_collection', 'title_uk', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
176 # Changing field 'Collection.description_ru'
177 db.alter_column(u'catalogue_collection', 'description_ru', self.gf('django.db.models.fields.TextField')(null=True))
179 # Changing field 'Collection.title_en'
180 db.alter_column(u'catalogue_collection', 'title_en', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
182 # Changing field 'Collection.description_en'
183 db.alter_column(u'catalogue_collection', 'description_en', self.gf('django.db.models.fields.TextField')(null=True))
185 # Changing field 'Collection.title_es'
186 db.alter_column(u'catalogue_collection', 'title_es', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
188 # Changing field 'Collection.description_es'
189 db.alter_column(u'catalogue_collection', 'description_es', self.gf('django.db.models.fields.TextField')(null=True))
191 # Changing field 'Collection.description_it'
192 db.alter_column(u'catalogue_collection', 'description_it', self.gf('django.db.models.fields.TextField')(null=True))
194 # Changing field 'Collection.title_pl'
195 db.alter_column(u'catalogue_collection', 'title_pl', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
197 # Changing field 'Collection.title_ru'
198 db.alter_column(u'catalogue_collection', 'title_ru', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
200 # Changing field 'Collection.title_it'
201 db.alter_column(u'catalogue_collection', 'title_it', self.gf('django.db.models.fields.CharField')(max_length=120, null=True))
203 # Changing field 'Tag.name_fr'
204 db.alter_column(u'catalogue_tag', 'name_fr', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
206 # Changing field 'Tag.wiki_link_fr'
207 db.alter_column(u'catalogue_tag', 'wiki_link_fr', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
209 # Changing field 'Tag.name_de'
210 db.alter_column(u'catalogue_tag', 'name_de', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
212 # Changing field 'Tag.description_fr'
213 db.alter_column(u'catalogue_tag', 'description_fr', self.gf('django.db.models.fields.TextField')(null=True))
215 # Changing field 'Tag.description_de'
216 db.alter_column(u'catalogue_tag', 'description_de', self.gf('django.db.models.fields.TextField')(null=True))
218 # Changing field 'Tag.description_uk'
219 db.alter_column(u'catalogue_tag', 'description_uk', self.gf('django.db.models.fields.TextField')(null=True))
221 # Changing field 'Tag.wiki_link_de'
222 db.alter_column(u'catalogue_tag', 'wiki_link_de', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
224 # Changing field 'Tag.name_ru'
225 db.alter_column(u'catalogue_tag', 'name_ru', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
227 # Changing field 'Tag.description_lt'
228 db.alter_column(u'catalogue_tag', 'description_lt', self.gf('django.db.models.fields.TextField')(null=True))
230 # Changing field 'Tag.name_it'
231 db.alter_column(u'catalogue_tag', 'name_it', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
233 # Changing field 'Tag.wiki_link_it'
234 db.alter_column(u'catalogue_tag', 'wiki_link_it', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
236 # Changing field 'Tag.name_pl'
237 db.alter_column(u'catalogue_tag', 'name_pl', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
239 # Changing field 'Tag.description_pl'
240 db.alter_column(u'catalogue_tag', 'description_pl', self.gf('django.db.models.fields.TextField')(null=True))
242 # Changing field 'Tag.wiki_link_pl'
243 db.alter_column(u'catalogue_tag', 'wiki_link_pl', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
245 # Changing field 'Tag.wiki_link_ru'
246 db.alter_column(u'catalogue_tag', 'wiki_link_ru', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
248 # Changing field 'Tag.description_ru'
249 db.alter_column(u'catalogue_tag', 'description_ru', self.gf('django.db.models.fields.TextField')(null=True))
251 # Changing field 'Tag.wiki_link_es'
252 db.alter_column(u'catalogue_tag', 'wiki_link_es', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
254 # Changing field 'Tag.name_es'
255 db.alter_column(u'catalogue_tag', 'name_es', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
257 # Changing field 'Tag.description_en'
258 db.alter_column(u'catalogue_tag', 'description_en', self.gf('django.db.models.fields.TextField')(null=True))
260 # Changing field 'Tag.description_es'
261 db.alter_column(u'catalogue_tag', 'description_es', self.gf('django.db.models.fields.TextField')(null=True))
263 # Changing field 'Tag.description_it'
264 db.alter_column(u'catalogue_tag', 'description_it', self.gf('django.db.models.fields.TextField')(null=True))
266 # Changing field 'Tag.name_en'
267 db.alter_column(u'catalogue_tag', 'name_en', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
269 # Changing field 'Tag.wiki_link_en'
270 db.alter_column(u'catalogue_tag', 'wiki_link_en', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
272 # Changing field 'Tag.wiki_link_uk'
273 db.alter_column(u'catalogue_tag', 'wiki_link_uk', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
275 # Changing field 'Tag.name_uk'
276 db.alter_column(u'catalogue_tag', 'name_uk', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
278 # Changing field 'Tag.wiki_link_lt'
279 db.alter_column(u'catalogue_tag', 'wiki_link_lt', self.gf('django.db.models.fields.CharField')(max_length=240, null=True))
281 # Changing field 'Tag.name_lt'
282 db.alter_column(u'catalogue_tag', 'name_lt', self.gf('django.db.models.fields.CharField')(max_length=50, null=True))
286 'Meta': {'object_name': 'Group'},
287 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
288 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
289 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
291 u'auth.permission': {
292 'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
293 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
294 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
295 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
296 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
299 'Meta': {'object_name': 'User'},
300 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
301 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
302 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
303 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
304 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
305 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
306 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
307 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
308 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
309 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
310 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
311 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
312 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
315 'Meta': {'ordering': "('sort_key',)", 'object_name': 'Book'},
316 '_related_info': ('jsonfield.fields.JSONField', [], {'null': 'True', 'blank': 'True'}),
317 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
318 'common_slug': ('django.db.models.fields.SlugField', [], {'max_length': '120'}),
319 'cover': ('catalogue.fields.EbookField', [], {'max_length': '100', 'null': 'True', 'format_name': "'cover'", 'blank': 'True'}),
320 'cover_thumb': ('catalogue.fields.EbookField', [], {'max_length': '100', 'null': 'True', 'format_name': "'cover_thumb'", 'blank': 'True'}),
321 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
322 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
323 'epub_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'epub'", 'blank': 'True'}),
324 'extra_info': ('jsonfield.fields.JSONField', [], {'default': '{}'}),
325 'fb2_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'fb2'", 'blank': 'True'}),
326 'gazeta_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
327 'html_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'html'", 'blank': 'True'}),
328 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
329 'language': ('django.db.models.fields.CharField', [], {'default': "'pol'", 'max_length': '3', 'db_index': 'True'}),
330 'mobi_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'mobi'", 'blank': 'True'}),
331 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['catalogue.Book']"}),
332 'parent_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
333 'pdf_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'pdf'", 'blank': 'True'}),
334 'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '120'}),
335 'sort_key': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
336 'sort_key_author': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '120', 'db_index': 'True'}),
337 'title': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
338 'txt_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'txt'", 'blank': 'True'}),
339 'wiki_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
340 'xml_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'xml'", 'blank': 'True'})
342 'catalogue.bookmedia': {
343 'Meta': {'ordering': "('type', 'name')", 'object_name': 'BookMedia'},
344 'book': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'media'", 'to': "orm['catalogue.Book']"}),
345 'extra_info': ('jsonfield.fields.JSONField', [], {'default': '{}'}),
346 'file': ('catalogue.fields.OverwritingFileField', [], {'max_length': '100'}),
347 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
348 'name': ('django.db.models.fields.CharField', [], {'max_length': '512'}),
349 'source_sha1': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}),
350 'type': ('django.db.models.fields.CharField', [], {'max_length': "'100'", 'db_index': 'True'}),
351 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'})
353 'catalogue.collection': {
354 'Meta': {'ordering': "('title',)", 'object_name': 'Collection'},
355 'book_slugs': ('django.db.models.fields.TextField', [], {}),
356 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
357 'description_de': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
358 'description_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
359 'description_es': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
360 'description_fr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
361 'description_it': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
362 'description_lt': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
363 'description_pl': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
364 'description_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
365 'description_uk': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
366 'kind': ('django.db.models.fields.CharField', [], {'default': "'book'", 'max_length': '10', 'db_index': 'True'}),
367 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '120', 'primary_key': 'True'}),
368 'title': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
369 'title_de': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
370 'title_en': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
371 'title_es': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
372 'title_fr': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
373 'title_it': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
374 'title_lt': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
375 'title_pl': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
376 'title_ru': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'}),
377 'title_uk': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '120', 'null': 'True', 'blank': 'True'})
379 'catalogue.fragment': {
380 'Meta': {'ordering': "('book', 'anchor')", 'object_name': 'Fragment'},
381 'anchor': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
382 'book': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'fragments'", 'to': "orm['catalogue.Book']"}),
383 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
384 'short_text': ('django.db.models.fields.TextField', [], {}),
385 'text': ('django.db.models.fields.TextField', [], {})
388 'Meta': {'ordering': "('sort_key',)", 'unique_together': "(('slug', 'category'),)", 'object_name': 'Tag'},
389 'book_count': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
390 'category': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
391 'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
392 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
393 'culturepl_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
394 'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
395 'description_de': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
396 'description_en': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
397 'description_es': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
398 'description_fr': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
399 'description_it': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
400 'description_lt': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
401 'description_pl': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
402 'description_ru': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
403 'description_uk': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
404 'gazeta_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
405 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
406 'name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
407 'name_de': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
408 'name_en': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
409 'name_es': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
410 'name_fr': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
411 'name_it': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
412 'name_lt': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
413 'name_pl': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
414 'name_ru': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
415 'name_uk': ('django.db.models.fields.CharField', [], {'db_index': 'True', 'max_length': '50', 'null': 'True', 'blank': 'True'}),
416 'picture_count': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
417 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '120'}),
418 'sort_key': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
419 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
420 'wiki_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
421 'wiki_link_de': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
422 'wiki_link_en': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
423 'wiki_link_es': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
424 'wiki_link_fr': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
425 'wiki_link_it': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
426 'wiki_link_lt': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
427 'wiki_link_pl': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
428 'wiki_link_ru': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'}),
429 'wiki_link_uk': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': 'True', 'blank': 'True'})
431 'catalogue.tagrelation': {
432 'Meta': {'unique_together': "(('tag', 'content_type', 'object_id'),)", 'object_name': 'TagRelation', 'db_table': "u'catalogue_tag_relation'"},
433 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
434 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
435 'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
436 'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'items'", 'to': "orm['catalogue.Tag']"})
438 u'contenttypes.contenttype': {
439 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
440 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
441 u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
442 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
443 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
447 complete_apps = ['catalogue']