proper sorting of pictures in gallery view
[wolnelektury.git] / apps / catalogue / migrations / 0009_auto__add_field_collection_title_de__add_field_collection_title_en__ad.py
1 # -*- coding: utf-8 -*-
2 import datetime
3 from south.db import db
4 from south.v2 import SchemaMigration
5 from django.db import models
6
7
8 class Migration(SchemaMigration):
9
10     def forwards(self, orm):
11         # Adding field 'Collection.title_de'
12         db.add_column(u'catalogue_collection', 'title_de',
13                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
14                       keep_default=False)
15
16         # Adding field 'Collection.title_en'
17         db.add_column(u'catalogue_collection', 'title_en',
18                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
19                       keep_default=False)
20
21         # Adding field 'Collection.title_es'
22         db.add_column(u'catalogue_collection', 'title_es',
23                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
24                       keep_default=False)
25
26         # Adding field 'Collection.title_fr'
27         db.add_column(u'catalogue_collection', 'title_fr',
28                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
29                       keep_default=False)
30
31         # Adding field 'Collection.title_it'
32         db.add_column(u'catalogue_collection', 'title_it',
33                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
34                       keep_default=False)
35
36         # Adding field 'Collection.title_lt'
37         db.add_column(u'catalogue_collection', 'title_lt',
38                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
39                       keep_default=False)
40
41         # Adding field 'Collection.title_pl'
42         db.add_column(u'catalogue_collection', 'title_pl',
43                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
44                       keep_default=False)
45
46         # Adding field 'Collection.title_ru'
47         db.add_column(u'catalogue_collection', 'title_ru',
48                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
49                       keep_default=False)
50
51         # Adding field 'Collection.title_uk'
52         db.add_column(u'catalogue_collection', 'title_uk',
53                       self.gf('django.db.models.fields.CharField')(blank=True, max_length=120, null=True, db_index=True),
54                       keep_default=False)
55
56         # Adding field 'Collection.description_de'
57         db.add_column(u'catalogue_collection', 'description_de',
58                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
59                       keep_default=False)
60
61         # Adding field 'Collection.description_en'
62         db.add_column(u'catalogue_collection', 'description_en',
63                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
64                       keep_default=False)
65
66         # Adding field 'Collection.description_es'
67         db.add_column(u'catalogue_collection', 'description_es',
68                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
69                       keep_default=False)
70
71         # Adding field 'Collection.description_fr'
72         db.add_column(u'catalogue_collection', 'description_fr',
73                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
74                       keep_default=False)
75
76         # Adding field 'Collection.description_it'
77         db.add_column(u'catalogue_collection', 'description_it',
78                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
79                       keep_default=False)
80
81         # Adding field 'Collection.description_lt'
82         db.add_column(u'catalogue_collection', 'description_lt',
83                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
84                       keep_default=False)
85
86         # Adding field 'Collection.description_pl'
87         db.add_column(u'catalogue_collection', 'description_pl',
88                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
89                       keep_default=False)
90
91         # Adding field 'Collection.description_ru'
92         db.add_column(u'catalogue_collection', 'description_ru',
93                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
94                       keep_default=False)
95
96         # Adding field 'Collection.description_uk'
97         db.add_column(u'catalogue_collection', 'description_uk',
98                       self.gf('django.db.models.fields.TextField')(null=True, blank=True),
99                       keep_default=False)
100
101         # Adding field 'Tag.wiki_link_de'
102         db.add_column(u'catalogue_tag', 'wiki_link_de',
103                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
104                       keep_default=False)
105
106         # Adding field 'Tag.wiki_link_en'
107         db.add_column(u'catalogue_tag', 'wiki_link_en',
108                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
109                       keep_default=False)
110
111         # Adding field 'Tag.wiki_link_es'
112         db.add_column(u'catalogue_tag', 'wiki_link_es',
113                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
114                       keep_default=False)
115
116         # Adding field 'Tag.wiki_link_fr'
117         db.add_column(u'catalogue_tag', 'wiki_link_fr',
118                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
119                       keep_default=False)
120
121         # Adding field 'Tag.wiki_link_it'
122         db.add_column(u'catalogue_tag', 'wiki_link_it',
123                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
124                       keep_default=False)
125
126         # Adding field 'Tag.wiki_link_lt'
127         db.add_column(u'catalogue_tag', 'wiki_link_lt',
128                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
129                       keep_default=False)
130
131         # Adding field 'Tag.wiki_link_pl'
132         db.add_column(u'catalogue_tag', 'wiki_link_pl',
133                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
134                       keep_default=False)
135
136         # Adding field 'Tag.wiki_link_ru'
137         db.add_column(u'catalogue_tag', 'wiki_link_ru',
138                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
139                       keep_default=False)
140
141         # Adding field 'Tag.wiki_link_uk'
142         db.add_column(u'catalogue_tag', 'wiki_link_uk',
143                       self.gf('django.db.models.fields.CharField')(max_length=240, null=True, blank=True),
144                       keep_default=False)
145
146
147     def backwards(self, orm):
148         # Deleting field 'Collection.title_de'
149         db.delete_column(u'catalogue_collection', 'title_de')
150
151         # Deleting field 'Collection.title_en'
152         db.delete_column(u'catalogue_collection', 'title_en')
153
154         # Deleting field 'Collection.title_es'
155         db.delete_column(u'catalogue_collection', 'title_es')
156
157         # Deleting field 'Collection.title_fr'
158         db.delete_column(u'catalogue_collection', 'title_fr')
159
160         # Deleting field 'Collection.title_it'
161         db.delete_column(u'catalogue_collection', 'title_it')
162
163         # Deleting field 'Collection.title_lt'
164         db.delete_column(u'catalogue_collection', 'title_lt')
165
166         # Deleting field 'Collection.title_pl'
167         db.delete_column(u'catalogue_collection', 'title_pl')
168
169         # Deleting field 'Collection.title_ru'
170         db.delete_column(u'catalogue_collection', 'title_ru')
171
172         # Deleting field 'Collection.title_uk'
173         db.delete_column(u'catalogue_collection', 'title_uk')
174
175         # Deleting field 'Collection.description_de'
176         db.delete_column(u'catalogue_collection', 'description_de')
177
178         # Deleting field 'Collection.description_en'
179         db.delete_column(u'catalogue_collection', 'description_en')
180
181         # Deleting field 'Collection.description_es'
182         db.delete_column(u'catalogue_collection', 'description_es')
183
184         # Deleting field 'Collection.description_fr'
185         db.delete_column(u'catalogue_collection', 'description_fr')
186
187         # Deleting field 'Collection.description_it'
188         db.delete_column(u'catalogue_collection', 'description_it')
189
190         # Deleting field 'Collection.description_lt'
191         db.delete_column(u'catalogue_collection', 'description_lt')
192
193         # Deleting field 'Collection.description_pl'
194         db.delete_column(u'catalogue_collection', 'description_pl')
195
196         # Deleting field 'Collection.description_ru'
197         db.delete_column(u'catalogue_collection', 'description_ru')
198
199         # Deleting field 'Collection.description_uk'
200         db.delete_column(u'catalogue_collection', 'description_uk')
201
202         # Deleting field 'Tag.wiki_link_de'
203         db.delete_column(u'catalogue_tag', 'wiki_link_de')
204
205         # Deleting field 'Tag.wiki_link_en'
206         db.delete_column(u'catalogue_tag', 'wiki_link_en')
207
208         # Deleting field 'Tag.wiki_link_es'
209         db.delete_column(u'catalogue_tag', 'wiki_link_es')
210
211         # Deleting field 'Tag.wiki_link_fr'
212         db.delete_column(u'catalogue_tag', 'wiki_link_fr')
213
214         # Deleting field 'Tag.wiki_link_it'
215         db.delete_column(u'catalogue_tag', 'wiki_link_it')
216
217         # Deleting field 'Tag.wiki_link_lt'
218         db.delete_column(u'catalogue_tag', 'wiki_link_lt')
219
220         # Deleting field 'Tag.wiki_link_pl'
221         db.delete_column(u'catalogue_tag', 'wiki_link_pl')
222
223         # Deleting field 'Tag.wiki_link_ru'
224         db.delete_column(u'catalogue_tag', 'wiki_link_ru')
225
226         # Deleting field 'Tag.wiki_link_uk'
227         db.delete_column(u'catalogue_tag', 'wiki_link_uk')
228
229
230     models = {
231         u'auth.group': {
232             'Meta': {'object_name': 'Group'},
233             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
234             'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
235             'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
236         },
237         u'auth.permission': {
238             'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
239             'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
240             'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
241             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
242             'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
243         },
244         u'auth.user': {
245             'Meta': {'object_name': 'User'},
246             'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
247             'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
248             'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
249             'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
250             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
251             'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
252             'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
253             'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
254             'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
255             'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
256             'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
257             'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
258             'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
259         },
260         'catalogue.book': {
261             'Meta': {'ordering': "('sort_key',)", 'object_name': 'Book'},
262             '_related_info': ('jsonfield.fields.JSONField', [], {'null': 'True', 'blank': 'True'}),
263             'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
264             'common_slug': ('django.db.models.fields.SlugField', [], {'max_length': '120'}),
265             'cover': ('catalogue.fields.EbookField', [], {'max_length': '100', 'null': 'True', 'format_name': "'cover'", 'blank': 'True'}),
266             'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
267             'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
268             'epub_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'epub'", 'blank': 'True'}),
269             'extra_info': ('jsonfield.fields.JSONField', [], {'default': '{}'}),
270             'fb2_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'fb2'", 'blank': 'True'}),
271             'gazeta_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
272             'html_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'html'", 'blank': 'True'}),
273             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
274             'language': ('django.db.models.fields.CharField', [], {'default': "'pol'", 'max_length': '3', 'db_index': 'True'}),
275             'mobi_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'mobi'", 'blank': 'True'}),
276             'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['catalogue.Book']"}),
277             'parent_number': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
278             'pdf_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'pdf'", 'blank': 'True'}),
279             'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '120'}),
280             'sort_key': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
281             'title': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
282             'txt_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'txt'", 'blank': 'True'}),
283             'wiki_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
284             'xml_file': ('catalogue.fields.EbookField', [], {'default': "''", 'max_length': '100', 'format_name': "'xml'", 'blank': 'True'})
285         },
286         'catalogue.bookmedia': {
287             'Meta': {'ordering': "('type', 'name')", 'object_name': 'BookMedia'},
288             'book': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'media'", 'to': "orm['catalogue.Book']"}),
289             'extra_info': ('jsonfield.fields.JSONField', [], {'default': '{}'}),
290             'file': ('catalogue.fields.OverwritingFileField', [], {'max_length': '100'}),
291             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
292             'name': ('django.db.models.fields.CharField', [], {'max_length': "'100'"}),
293             'source_sha1': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}),
294             'type': ('django.db.models.fields.CharField', [], {'max_length': "'100'", 'db_index': 'True'}),
295             'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'})
296         },
297         'catalogue.collection': {
298             'Meta': {'ordering': "('title',)", 'object_name': 'Collection'},
299             'book_slugs': ('django.db.models.fields.TextField', [], {}),
300             'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
301             'description_de': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
302             'description_en': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
303             'description_es': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
304             'description_fr': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
305             'description_it': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
306             'description_lt': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
307             'description_pl': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
308             'description_ru': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
309             'description_uk': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
310             'slug': ('django.db.models.fields.SlugField', [], {'max_length': '120', 'primary_key': 'True'}),
311             'title': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
312             'title_de': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
313             'title_en': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
314             'title_es': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
315             'title_fr': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
316             'title_it': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
317             'title_lt': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
318             'title_pl': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
319             'title_ru': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'}),
320             'title_uk': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '120', 'null': True, 'db_index': 'True'})
321         },
322         'catalogue.fragment': {
323             'Meta': {'ordering': "('book', 'anchor')", 'object_name': 'Fragment'},
324             'anchor': ('django.db.models.fields.CharField', [], {'max_length': '120'}),
325             'book': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'fragments'", 'to': "orm['catalogue.Book']"}),
326             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
327             'short_text': ('django.db.models.fields.TextField', [], {}),
328             'text': ('django.db.models.fields.TextField', [], {})
329         },
330         'catalogue.tag': {
331             'Meta': {'ordering': "('sort_key',)", 'unique_together': "(('slug', 'category'),)", 'object_name': 'Tag'},
332             'book_count': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
333             'category': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
334             'changed_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'db_index': 'True', 'blank': 'True'}),
335             'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'db_index': 'True', 'blank': 'True'}),
336             'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
337             'description_de': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
338             'description_en': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
339             'description_es': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
340             'description_fr': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
341             'description_it': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
342             'description_lt': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
343             'description_pl': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
344             'description_ru': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
345             'description_uk': ('django.db.models.fields.TextField', [], {'null': True, 'blank': True}),
346             'gazeta_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
347             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
348             'name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
349             'name_de': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
350             'name_en': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
351             'name_es': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
352             'name_fr': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
353             'name_it': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
354             'name_lt': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
355             'name_pl': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
356             'name_ru': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
357             'name_uk': ('django.db.models.fields.CharField', [], {'blank': True, 'max_length': '50', 'null': True, 'db_index': 'True'}),
358             'slug': ('django.db.models.fields.SlugField', [], {'max_length': '120'}),
359             'sort_key': ('django.db.models.fields.CharField', [], {'max_length': '120', 'db_index': 'True'}),
360             'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
361             'wiki_link': ('django.db.models.fields.CharField', [], {'max_length': '240', 'blank': 'True'}),
362             'wiki_link_de': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
363             'wiki_link_en': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
364             'wiki_link_es': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
365             'wiki_link_fr': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
366             'wiki_link_it': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
367             'wiki_link_lt': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
368             'wiki_link_pl': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
369             'wiki_link_ru': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True}),
370             'wiki_link_uk': ('django.db.models.fields.CharField', [], {'max_length': '240', 'null': True, 'blank': True})
371         },
372         'catalogue.tagrelation': {
373             'Meta': {'unique_together': "(('tag', 'content_type', 'object_id'),)", 'object_name': 'TagRelation', 'db_table': "u'catalogue_tag_relation'"},
374             'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
375             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
376             'object_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
377             'tag': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'items'", 'to': "orm['catalogue.Tag']"})
378         },
379         u'contenttypes.contenttype': {
380             'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
381             'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
382             u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
383             'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
384             'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
385         }
386     }
387
388     complete_apps = ['catalogue']