1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import models, migrations
5 import markupfield.fields
8 class Migration(migrations.Migration):
14 migrations.CreateModel(
17 ('key', models.CharField(help_text='A unique name for this attachment', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
18 ('attachment', models.FileField(upload_to=b'chunks/attachment')),
22 'verbose_name': 'attachment',
23 'verbose_name_plural': 'attachments',
25 bases=(models.Model,),
27 migrations.CreateModel(
30 ('key', models.CharField(help_text='A unique name for this piece of content', max_length=255, serialize=False, verbose_name='key', primary_key=True)),
31 ('description', models.CharField(max_length=255, verbose_name='description', blank=True)),
32 ('content_pl', markupfield.fields.MarkupField(help_text='Use <a href="http://txstyle.org/">Textile</a> syntax.', rendered_field=True, verbose_name='content', blank=True)),
33 ('content_en', markupfield.fields.MarkupField(help_text='Use <a href="http://txstyle.org/">Textile</a> syntax.', rendered_field=True, verbose_name='content', blank=True)),
34 ('content_pl_markup_type', models.CharField(default=b'textile_pl', max_length=30, editable=False, choices=[(b'', b'--'), (b'textile_pl', b'textile_pl')])),
35 ('content_en_markup_type', models.CharField(default=b'textile_pl', max_length=30, editable=False, choices=[(b'', b'--'), (b'textile_pl', b'textile_pl')])),
36 ('_content_pl_rendered', models.TextField(editable=False)),
37 ('_content_en_rendered', models.TextField(editable=False)),
41 'verbose_name': 'piece',
42 'verbose_name_plural': 'pieces',
44 bases=(models.Model,),