Skip to content

Commit fe7fe98

Browse files
committed
Add migration for WealthGroup ordering - see HEA-659
1 parent e72d18a commit fe7fe98

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated by Django 5.2.7 on 2025-12-16 06:30
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("baseline", "0021_remove_livelihoodproductcategory_livelihood_zone_baseline_and_more"),
10+
]
11+
12+
operations = [
13+
migrations.AlterModelOptions(
14+
name="wealthgroup",
15+
options={
16+
"ordering": [
17+
"livelihood_zone_baseline__livelihood_zone__code",
18+
"livelihood_zone_baseline__reference_year_end_date",
19+
"wealth_group_category__ordering",
20+
"community__name",
21+
],
22+
"verbose_name": "Wealth Group",
23+
"verbose_name_plural": "Wealth Groups",
24+
},
25+
),
26+
]

0 commit comments

Comments
 (0)