[tasks] Add unit handling to weigh-ins
This commit is contained in:
@ -0,0 +1,24 @@
|
||||
# Generated by Django 4.2.29 on 2026-05-21 13:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import profiles.models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("profiles", "0031_add_home_scrobble_limit"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="userprofile",
|
||||
name="weigh_in_units",
|
||||
field=models.CharField(
|
||||
choices=profiles.models.WeighUnit.choices,
|
||||
default=profiles.models.WeighUnit.METRIC,
|
||||
max_length=16,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user