OpenSlides/server/openslides/motions/migrations/0010_auto_20180822_1042.py

59 lines
1.7 KiB
Python
Raw Normal View History

# Generated by Django 2.1 on 2018-08-22 08:42
from decimal import Decimal
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
2019-01-06 16:22:33 +01:00
dependencies = [("motions", "0009_motionversion_modified_final_version")]
operations = [
migrations.AlterField(
2019-01-06 16:22:33 +01:00
model_name="motionpoll",
name="votescast",
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"))],
),
),
migrations.AlterField(
2019-01-06 16:22:33 +01:00
model_name="motionpoll",
name="votesinvalid",
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"))],
),
),
migrations.AlterField(
2019-01-06 16:22:33 +01:00
model_name="motionpoll",
name="votesvalid",
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"))],
),
),
migrations.AlterField(
2019-01-06 16:22:33 +01:00
model_name="motionvote",
name="weight",
field=models.DecimalField(
decimal_places=6,
2019-01-06 16:22:33 +01:00
default=Decimal("1"),
max_digits=15,
null=True,
2019-01-06 16:22:33 +01:00
validators=[django.core.validators.MinValueValidator(Decimal("-2"))],
),
),
]