Deploy in Makefile.
[wolnelektury.git] / src / dictionary / 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         ('catalogue', '0001_initial'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Note',
16             fields=[
17                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18                 ('anchor', models.CharField(max_length=64)),
19                 ('html', models.TextField()),
20                 ('sort_key', models.CharField(max_length=128, db_index=True)),
21                 ('book', models.ForeignKey(to='catalogue.Book')),
22             ],
23             options={
24                 'ordering': ['sort_key'],
25             },
26             bases=(models.Model,),
27         ),
28     ]