update fnpdjango
[emels.git] / chunks / migrations / 0001_initial.py
1 # -*- coding: utf-8 -*-
2 # Generated by Django 1.10.6 on 2017-05-09 11:02
3 from __future__ import unicode_literals
4
5 from django.db import migrations, models
6
7
8 class Migration(migrations.Migration):
9
10     initial = True
11
12     dependencies = [
13     ]
14
15     operations = [
16         migrations.CreateModel(
17             name='Attachment',
18             fields=[
19                 ('key', models.CharField(help_text='A unique name for this attachment', max_length=255, primary_key=True, serialize=False, verbose_name='key')),
20                 ('attachment', models.FileField(upload_to=b'chunks/attachment')),
21             ],
22             options={
23                 'ordering': ('key',),
24                 'verbose_name': 'attachment',
25                 'verbose_name_plural': 'attachments',
26             },
27         ),
28         migrations.CreateModel(
29             name='Chunk',
30             fields=[
31                 ('key', models.CharField(help_text='A unique name for this chunk of content', max_length=255, primary_key=True, serialize=False, verbose_name='key')),
32                 ('description', models.CharField(blank=True, max_length=255, verbose_name='description')),
33                 ('content', models.TextField(blank=True, verbose_name='content')),
34             ],
35             options={
36                 'ordering': ('key',),
37                 'verbose_name': 'chunk',
38                 'verbose_name_plural': 'chunks',
39             },
40         ),
41     ]