Skip to content

Commit ec8c9d4

Browse files
Merge pull request #1511 from IFRCGo/hotfix/ongoing-info-to-be-saved
Hotfix/ongoing info to be saved
2 parents d806cfe + 21f82f8 commit ec8c9d4

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## Unreleased
88

9+
## 1.1.452
10+
11+
### Added
12+
- Fixes for EmergencyProject serializer (X, X_details both needed)
13+
914
## 1.1.451
1015

1116
### Added
@@ -2033,7 +2038,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
20332038

20342039
## 0.1.20
20352040

2036-
[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.451...HEAD
2041+
[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.452...HEAD
2042+
[1.1.452]: https://github.com/IFRCGo/go-api/compare/1.1.451...1.1.452
20372043
[1.1.451]: https://github.com/IFRCGo/go-api/compare/1.1.450...1.1.451
20382044
[1.1.450]: https://github.com/IFRCGo/go-api/compare/1.1.449...1.1.450
20392045
[1.1.449]: https://github.com/IFRCGo/go-api/compare/1.1.448...1.1.449

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,5 +225,5 @@ Run ` python manage.py update-sovereign-and-disputed new_fields.csv` to update t
225225
## Update Mapbox Tilesets
226226
To update GO countries and districts Mapbox tilesets, run the management command `python manage.py update-mapbox-tilesets`. This will export all country and district geometries to a GeoJSON file, and then upload them to Mapbox. The tilesets will take a while to process. The updated status can be viewed on the Mapbox Studio under tilesets. To run this management command, MAPBOX_ACCESS_TOKEN should be set in the environment.
227227

228-
## Improt GEC codes
228+
## Import GEC codes
229229
To import GEC codes along with country ids, run `python manage.py import-gec-code appeal_ingest_match.csv`. The CSV should have the columns `'GST_code', 'GST_name', 'GO ID', 'ISO'`

deployments/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,9 +542,9 @@ class Meta:
542542
fields = ('id', 'created_by_details', 'modified_by_details', 'reporting_ns_details',
543543
'deployed_eru_details', 'districts_details', 'activities', 'event_details',
544544
'activity_lead_display', 'status_display', 'country_details', 'visibility_display',
545-
'title', 'activity_lead', 'reporting_ns', 'event', 'country', 'districts',
545+
'title', 'activity_lead', 'reporting_ns', 'event', 'country', 'districts', 'status',
546546
'created_at', 'modified_at', 'start_date', 'end_date',
547-
) # '__all__'
547+
) # '__all__' | Both X_details + X fields are needed: outgoing + incoming data.
548548
read_only_fields = (
549549
'created_by',
550550
'created_at',

main/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
from .celery import app as celery_app
44

55
__all__ = ['celery_app']
6-
__version__ = '1.1.451'
6+
__version__ = '1.1.452'

0 commit comments

Comments
 (0)