Skip to content

Commit 75caa5a

Browse files
authored
Merge pull request #2630 from IFRCGo/fix/update-full-eap-form-validation
Update full eap form validation
2 parents 2c0154c + 4e4a05d commit 75caa5a

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

assets

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 2026-01-14 09:27
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('eap', '0015_eapregistration_deadline_and_more'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='fulleap',
15+
name='technical_working_groups_in_place_description',
16+
field=models.TextField(blank=True, null=True, verbose_name='Technical working groups description'),
17+
),
18+
migrations.AlterField(
19+
model_name='fulleap',
20+
name='worked_with_government_description',
21+
field=models.TextField(blank=True, null=True, verbose_name='Government and actors engagement description'),
22+
),
23+
]

eap/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,8 @@ class FullEAP(EAPBaseModel, CommonEAPFields):
12101210

12111211
worked_with_government_description = models.TextField(
12121212
verbose_name=_("Government and actors engagement description"),
1213+
null=True,
1214+
blank=True,
12131215
)
12141216

12151217
key_actors = models.ManyToManyField(
@@ -1232,6 +1234,8 @@ class FullEAP(EAPBaseModel, CommonEAPFields):
12321234
)
12331235
technical_working_groups_in_place_description = models.TextField(
12341236
verbose_name=_("Technical working groups description"),
1237+
null=True,
1238+
blank=True,
12351239
)
12361240

12371241
# RISK ANALYSIS #

0 commit comments

Comments
 (0)