Metadata editing: auto-add record and more suggestions.
[redakcja.git] / src / wiki / migrations / 0001_initial.py
1 # This file is part of FNP-Redakcja, 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     ]
11
12     operations = [
13         migrations.CreateModel(
14             name='Theme',
15             fields=[
16                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
17                 ('name', models.CharField(unique=True, max_length=50, verbose_name='name')),
18             ],
19             options={
20                 'ordering': ('name',),
21                 'verbose_name': 'theme',
22                 'verbose_name_plural': 'themes',
23             },
24             bases=(models.Model,),
25         ),
26     ]