-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2419 from IFRCGo/fix/skip-title-generation
Remove title generation for emergency
- Loading branch information
Showing
13 changed files
with
191 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
api/migrations/0218_remove_event_title_remove_event_title_ar_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Generated by Django 4.2.17 on 2025-02-20 09:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("api", "0217_merge_20250107_1019"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="event", | ||
name="title", | ||
), | ||
migrations.RemoveField( | ||
model_name="event", | ||
name="title_ar", | ||
), | ||
migrations.RemoveField( | ||
model_name="event", | ||
name="title_en", | ||
), | ||
migrations.RemoveField( | ||
model_name="event", | ||
name="title_es", | ||
), | ||
migrations.RemoveField( | ||
model_name="event", | ||
name="title_fr", | ||
), | ||
migrations.AlterField( | ||
model_name="fieldreport", | ||
name="title", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Title is used to generate the summary/name of the Field Report. </br>The summary is constructed as: <b><i>Country IS03: Disaster Type - Start Date - Title - Field Report Number - (date)</b><i>", | ||
max_length=256, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="fieldreport", | ||
name="title_ar", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Title is used to generate the summary/name of the Field Report. </br>The summary is constructed as: <b><i>Country IS03: Disaster Type - Start Date - Title - Field Report Number - (date)</b><i>", | ||
max_length=256, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="fieldreport", | ||
name="title_en", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Title is used to generate the summary/name of the Field Report. </br>The summary is constructed as: <b><i>Country IS03: Disaster Type - Start Date - Title - Field Report Number - (date)</b><i>", | ||
max_length=256, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="fieldreport", | ||
name="title_es", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Title is used to generate the summary/name of the Field Report. </br>The summary is constructed as: <b><i>Country IS03: Disaster Type - Start Date - Title - Field Report Number - (date)</b><i>", | ||
max_length=256, | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="fieldreport", | ||
name="title_fr", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="Title is used to generate the summary/name of the Field Report. </br>The summary is constructed as: <b><i>Country IS03: Disaster Type - Start Date - Title - Field Report Number - (date)</b><i>", | ||
max_length=256, | ||
null=True, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.