1 # -*- coding: utf-8 -*-
2 from __future__ import unicode_literals
4 from django.db import migrations, models
7 class Migration(migrations.Migration):
13 migrations.CreateModel(
16 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17 ('name', models.CharField(help_text=b'Name of the author', max_length=100)),
18 ('notes', models.TextField(help_text=b'Notes about the author; may be left blank. Will not be HTML-escaped.', blank=True)),
19 ('pvt_notes', models.TextField(help_text=b'Notes about the author; not displayed on the public interface', blank=True)),
20 ('birth_date', models.DateField(help_text=b'Date of birth', null=True, blank=True)),
21 ('death_date', models.DateField(help_text=b'Date of death (leave blank if still alive!)', null=True, blank=True)),
24 migrations.CreateModel(
27 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
28 ('name', models.CharField(help_text=b'Name of the context for the quote (title of the work or speech it appears in)', max_length=100)),
29 ('date', models.DateField(help_text=b'Date of the quote', null=True, blank=True)),
30 ('notes', models.TextField(help_text=b'Notes about the work; may be left blank. Will not be HTML-escaped. XXX: offer a WYSIWYG editor', blank=True)),
31 ('pvt_notes', models.TextField(help_text=b'Notes about the work; not displayed on the public interface', blank=True)),
34 migrations.CreateModel(
37 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
38 ('text', models.TextField()),
39 ('notes', models.TextField(help_text=b'Notes about the quote; may be left blank. Will not be HTML-escaped. XXX: offer a WYSIWYG editor', blank=True)),
40 ('pvt_notes', models.TextField(help_text=b'Notes about the quote; not displayed on the public interface', blank=True)),
41 ('context', models.ForeignKey(to='quotes.Context')),
44 migrations.CreateModel(
47 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
48 ('tag', models.CharField(max_length=100)),
54 field=models.ManyToManyField(to='quotes.Tag', blank=True),
59 field=models.ManyToManyField(to='quotes.Tag', blank=True),
64 field=models.ManyToManyField(to='quotes.Tag', blank=True),