From e1f2ffc84fbcc4e595ee32c9d569cbd05757bafd Mon Sep 17 00:00:00 2001 From: k9845 Date: Wed, 2 Aug 2023 08:45:49 +0545 Subject: [PATCH 1/2] Add dissater details in final report --- dref/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dref/serializers.py b/dref/serializers.py index 765f480bd..9cfd4a991 100644 --- a/dref/serializers.py +++ b/dref/serializers.py @@ -915,6 +915,7 @@ class DrefFinalReportSerializer(NestedUpdateMixin, NestedCreateMixin, ModelSeria created_by_details = UserNameSerializer(source="created_by", read_only=True) users_details = UserNameSerializer(source="users", many=True, read_only=True) modified_by_details = UserNameSerializer(source="modified_by", read_only=True) + disaster_type_details = DisasterTypeSerializer(source="disaster_type", read_only=True) class Meta: model = DrefFinalReport From b5f8e7adc9e356501a4ff688f77dc2ca852fc2c5 Mon Sep 17 00:00:00 2001 From: k9845 Date: Wed, 2 Aug 2023 20:30:13 +0545 Subject: [PATCH 2/2] Increase version to 485 --- CHANGELOG.md | 8 +++++++- main/__init__.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a987287..ca76f9cbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased +## 1.1.485 + +### Added + - Add disaster_type details in dref final report + ## 1.1.484 ### Added @@ -2267,7 +2272,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## 0.1.20 -[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.484...HEAD +[Unreleased]: https://github.com/IFRCGo/go-api/compare/1.1.485...HEAD +[1.1.485]: https://github.com/IFRCGo/go-api/compare/1.1.484...1.1.485 [1.1.484]: https://github.com/IFRCGo/go-api/compare/1.1.483...1.1.484 [1.1.483]: https://github.com/IFRCGo/go-api/compare/1.1.482...1.1.483 [1.1.482]: https://github.com/IFRCGo/go-api/compare/1.1.481...1.1.482 diff --git a/main/__init__.py b/main/__init__.py index bfb2536a1..001399069 100644 --- a/main/__init__.py +++ b/main/__init__.py @@ -3,4 +3,4 @@ from .celery import app as celery_app __all__ = ['celery_app'] -__version__ = '1.1.484' +__version__ = '1.1.485'