Plant-level watering/sunlight fields override the species defaults. Rendered as btn-check radio buttons in the edit form; detail page shows the plant value (with emoji) falling back to species data. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
558 B
Python
23 lines
558 B
Python
# Generated by Django 5.2.1 on 2026-05-29 09:46
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('plants', '0007_plantcardphoto'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='plant',
|
|
name='sunlight',
|
|
field=models.CharField(blank=True, max_length=200),
|
|
),
|
|
migrations.AddField(
|
|
model_name='plant',
|
|
name='watering',
|
|
field=models.CharField(blank=True, max_length=100),
|
|
),
|
|
]
|