1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 from django.db import models, migrations
7 class Migration(migrations.Migration):
13 migrations.CreateModel(
16 ('key', models.CharField(help_text='A unique name for this attachment', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
17 ('attachment', models.FileField(upload_to='chunks/attachment')),
21 'verbose_name': 'attachment',
22 'verbose_name_plural': 'attachments',
24 bases=(models.Model,),
26 migrations.CreateModel(
29 ('key', models.CharField(help_text='A unique name for this piece of content', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
30 ('description', models.CharField(max_length=255, null=True, verbose_name='Description', blank=True)),
31 ('content', models.TextField(null=True, verbose_name='content', blank=True)),
32 ('content_de', models.TextField(null=True, verbose_name='content', blank=True)),
33 ('content_en', models.TextField(null=True, verbose_name='content', blank=True)),
34 ('content_es', models.TextField(null=True, verbose_name='content', blank=True)),
35 ('content_fr', models.TextField(null=True, verbose_name='content', blank=True)),
36 ('content_it', models.TextField(null=True, verbose_name='content', blank=True)),
37 ('content_lt', models.TextField(null=True, verbose_name='content', blank=True)),
38 ('content_pl', models.TextField(null=True, verbose_name='content', blank=True)),
39 ('content_ru', models.TextField(null=True, verbose_name='content', blank=True)),
40 ('content_uk', models.TextField(null=True, verbose_name='content', blank=True)),
44 'verbose_name': 'piece',
45 'verbose_name_plural': 'pieces',
47 bases=(models.Model,),