2018-08-22 17:34:16 +02:00
|
|
|
# Generated by Django 2.1 on 2018-08-22 08:42
|
|
|
|
|
|
|
|
from decimal import Decimal
|
2018-08-23 21:26:24 +02:00
|
|
|
|
2018-08-22 17:34:16 +02:00
|
|
|
import django.core.validators
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('assignments', '0004_auto_20180703_1523'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentpoll',
|
|
|
|
name='votescast',
|
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentpoll',
|
|
|
|
name='votesinvalid',
|
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentpoll',
|
|
|
|
name='votesvalid',
|
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentvote',
|
|
|
|
name='weight',
|
|
|
|
field=models.DecimalField(
|
|
|
|
decimal_places=6,
|
|
|
|
default=Decimal('1'),
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentpoll',
|
|
|
|
name='votesabstain',
|
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='assignmentpoll',
|
|
|
|
name='votesno',
|
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal('-2'))]),
|
|
|
|
),
|
|
|
|
]
|