mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Add new widget (not tested) and new bdd scheme for elections
This commit is contained in:
43
election/migrations/0004_auto_20161219_2302.py
Normal file
43
election/migrations/0004_auto_20161219_2302.py
Normal file
@ -0,0 +1,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),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user