- Add bloom_months to Plant and Species models (migration 0003)
- Swap pruning_months form field for bloom_months throughout
- Plant detail shows green bloom strip instead of pruning strip
- Dashboard shows 'Blooming now' count and list instead of overdue pruning
- Remove ✂️ pruning calendar from nav (feature hidden, backend intact)
- Update dashboard tests to reflect new context
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
23 lines
576 B
Python
23 lines
576 B
Python
# Generated by Django 5.2.1 on 2026-05-28 15:00
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('plants', '0002_alter_pruninglog_plant_alter_species_max_height_cm'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='plant',
|
|
name='bloom_months',
|
|
field=models.JSONField(default=list),
|
|
),
|
|
migrations.AddField(
|
|
model_name='species',
|
|
name='bloom_months',
|
|
field=models.JSONField(default=list),
|
|
),
|
|
]
|