0004_auto_20161219_2302.py 1.46 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0016_auto_20161212_1922'),
        ('election', '0003_auto_20161219_1832'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='election',
            name='candidature_group',
        ),
        migrations.RemoveField(
            model_name='election',
            name='vote_group',
        ),
        migrations.AddField(
            model_name='election',
            name='candidature_groups',
            field=models.ManyToManyField(to='core.Group', verbose_name='candidature group', related_name='candidate_elections', blank=True),
        ),
        migrations.AddField(
            model_name='election',
            name='vote_groups',
            field=models.ManyToManyField(to='core.Group', verbose_name='vote group', related_name='votable_elections', blank=True),
        ),
        migrations.AlterField(
            model_name='election',
            name='edit_groups',
            field=models.ManyToManyField(to='core.Group', verbose_name='edit group', related_name='editable_elections', blank=True),
        ),
        migrations.AlterField(
            model_name='election',
            name='view_groups',
            field=models.ManyToManyField(to='core.Group', verbose_name='view group', related_name='viewable_elections', blank=True),
        ),
    ]