forked from mirrors/bookwyrm
30 lines
789 B
Python
30 lines
789 B
Python
# 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 = [
|
|
("bookwyrm", "0052_user_show_goal"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
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),
|
|
],
|
|
),
|
|
),
|
|
]
|