Skip to content

Commit f02950a

Browse files
authored
Merge pull request #2507 from IFRCGo/develop
Dref Form Changes
2 parents 917dccf + ce8da47 commit f02950a

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Django 4.2.19 on 2025-07-01 04:52
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("dref", "0080_remove_dref_hazard_date_and_location_and_more"),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name="dref",
15+
name="hazard_date_and_location",
16+
field=models.TextField(
17+
blank=True,
18+
help_text="When and where is the hazard expected to happen?",
19+
null=True,
20+
verbose_name="Hazard Date and Location",
21+
),
22+
),
23+
]

dref/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,12 @@ class Status(models.IntegerChoices):
691691
null=True,
692692
blank=True,
693693
)
694+
hazard_date_and_location = models.TextField(
695+
verbose_name=_("Hazard Date and Location"),
696+
help_text=_("When and where is the hazard expected to happen?"),
697+
null=True,
698+
blank=True,
699+
)
694700
hazard_vulnerabilities_and_risks = models.TextField(
695701
verbose_name=_("Hazard Vulnerabilities and Risks"),
696702
help_text=_("Explain the underlying vulnerabilities and risks the hazard poses for at-risk communities?"),

0 commit comments

Comments
 (0)