quotes in API
[wolnelektury.git] / src / chunks / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
3
4 from django.db import models, migrations
5
6
7 class Migration(migrations.Migration):
8
9     dependencies = [
10     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Attachment',
15             fields=[
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=b'chunks/attachment')),
18             ],
19             options={
20                 'ordering': ('key',),
21                 'verbose_name': 'attachment',
22                 'verbose_name_plural': 'attachments',
23             },
24             bases=(models.Model,),
25         ),
26         migrations.CreateModel(
27             name='Chunk',
28             fields=[
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)),
41             ],
42             options={
43                 'ordering': ('key',),
44                 'verbose_name': 'piece',
45                 'verbose_name_plural': 'pieces',
46             },
47             bases=(models.Model,),
48         ),
49     ]