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):
|
|
|
|
|
2019-01-06 16:22:33 +01:00
|
|
|
dependencies = [("assignments", "0004_auto_20180703_1523")]
|
2018-08-22 17:34:16 +02:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentpoll",
|
|
|
|
name="votescast",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentpoll",
|
|
|
|
name="votesinvalid",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentpoll",
|
|
|
|
name="votesvalid",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentvote",
|
|
|
|
name="weight",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
decimal_places=6,
|
2019-01-06 16:22:33 +01:00
|
|
|
default=Decimal("1"),
|
2018-08-22 17:34:16 +02:00
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentpoll",
|
|
|
|
name="votesabstain",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2019-01-06 16:22:33 +01:00
|
|
|
model_name="assignmentpoll",
|
|
|
|
name="votesno",
|
2018-08-22 17:34:16 +02:00
|
|
|
field=models.DecimalField(
|
|
|
|
blank=True,
|
|
|
|
decimal_places=6,
|
|
|
|
max_digits=15,
|
|
|
|
null=True,
|
2019-01-06 16:22:33 +01:00
|
|
|
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
|
|
|
|
),
|
2018-08-22 17:34:16 +02:00
|
|
|
),
|
|
|
|
]
|