simplify piston authorize form
[wolnelektury.git] / src / dictionary / migrations / 0003_auto_20141023_1445.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         ('dictionary', '0002_auto_20141006_1422'),
11     ]
12
13     operations = [
14         migrations.CreateModel(
15             name='Qualifier',
16             fields=[
17                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
18                 ('qualifier', models.CharField(unique=True, max_length=128, db_index=True)),
19                 ('name', models.CharField(max_length=255)),
20             ],
21             options={
22                 'ordering': ['qualifier'],
23             },
24             bases=(models.Model,),
25         ),
26         migrations.RemoveField(
27             model_name='note',
28             name='qualifier',
29         ),
30         migrations.AddField(
31             model_name='note',
32             name='qualifiers',
33             field=models.ManyToManyField(to='dictionary.Qualifier', null=True),
34             preserve_default=True,
35         ),
36     ]