Better management of manually-set members.
[wolnelektury.git] / src / catalogue / migrations / 0002_book_ancestor.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
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     ]