0004_add_kind_score_title.py 913 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('representatives_positions', '0003_remove_position_tags'),
    ]

    operations = [
        migrations.AddField(
            model_name='position',
            name='kind',
            field=models.CharField(default=b'other', max_length=64, choices=[(b'other', b'Other'), (b'blog', b'Blog post'), (b'social', b'Social network'), (b'press', b'Press interview'), (b'parliament', b'Parliament debate')]),
        ),
        migrations.AddField(
            model_name='position',
            name='score',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='position',
            name='title',
            field=models.CharField(max_length=500, null=True),
        ),
    ]