114a6c2a34290852b230a872d27181ac771b8521
[wolnelektury.git] / src / catalogue / migrations / 0002_book_ancestor.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.AddField(
15             model_name='book',
16             name='ancestor',
17             field=models.ManyToManyField(related_name='descendant', null=True, editable=False, to='catalogue.Book', blank=True),
18             preserve_default=True,
19         ),
20     ]