moviewyrm/bookwyrm/migrations/0053_auto_20210319_1913.py

31 lines
789 B
Python
Raw Normal View History

2021-03-19 19:14:59 +00:00
# Generated by Django 3.1.6 on 2021-03-19 19:13
import bookwyrm.models.fields
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
2021-03-19 19:16:44 +00:00
("bookwyrm", "0052_user_show_goal"),
2021-03-19 19:14:59 +00:00
]
operations = [
migrations.AlterField(
2021-03-19 19:16:44 +00:00
model_name="review",
name="rating",
field=bookwyrm.models.fields.DecimalField(
blank=True,
decimal_places=2,
default=None,
max_digits=3,
null=True,
validators=[
django.core.validators.MinValueValidator(1),
django.core.validators.MaxValueValidator(5),
],
),
2021-03-19 19:14:59 +00:00
),
]