From 4e5157f640f80234bdb790d432a58eae4940ee25 Mon Sep 17 00:00:00 2001 From: Bastien Potiron Date: Thu, 7 Sep 2023 23:51:45 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=A5=20[CLEAN]=20Changelog=20to=20m?= =?UTF-8?q?atch=20last=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 2e5a0e0d..997fbd69 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,14 +5,17 @@ CHANGELOG 1.2.3 (2023-08-10) ------------------------- -**Bug fixes** +**Enhancement** -* Use url lang for sensitivity datas +- Improve CSS of the altitude profile of altimetry (#210) -**Enhancement** +1.2.3 (2023-08-10) +------------------------- -- Improve CSS of the altitude profile of altimetry (#210) +**Bug fixes** + +* Use url lang for sensitivity datas 1.2.2 (2023-08-09) From d2b6316ed44a423cb08bdf2424786ff0bfa96bfc Mon Sep 17 00:00:00 2001 From: Bastien Potiron Date: Thu, 7 Sep 2023 23:52:45 +0200 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=90=9B=20[FIX]=20Computation=20of=20o?= =?UTF-8?q?petation=20uri=20for=20hydrometric=20stations=20(ref=20#107)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/changelog.rst | 4 ++++ .../management/commands/import_hydrometric_stations.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 997fbd69..ac1a5a19 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,10 @@ CHANGELOG 1.2.3 (2023-08-10) ------------------------- +**Bug fix** + +- Use code_site in operation uri for hydrometric stations instead of station_code (ref #107) + **Enhancement** - Improve CSS of the altitude profile of altimetry (#210) diff --git a/georiviere/observations/management/commands/import_hydrometric_stations.py b/georiviere/observations/management/commands/import_hydrometric_stations.py index 9b77046b..cc98b9f3 100644 --- a/georiviere/observations/management/commands/import_hydrometric_stations.py +++ b/georiviere/observations/management/commands/import_hydrometric_stations.py @@ -22,7 +22,7 @@ def create_or_update_stations(self, results, verbosity, with_parameters=False): uri_station = "https://id.eaufrance.fr/StationHydro/{}".format( station['code_station'], ) or "" - operations_uri = f"{self.operations_url}{station['code_station']}/series" + operations_uri = f"{self.operations_url}{station['code_site']}/series" station_obj, station_created = Station.objects.update_or_create( code=station['code_station'], defaults={ From c97ff00a47520f5fff8333dd5df00c260252a83f Mon Sep 17 00:00:00 2001 From: Jean-Etienne Castagnede Date: Thu, 14 Sep 2023 15:01:11 +0200 Subject: [PATCH 3/3] Update changelog.rst --- docs/changelog.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index ac1a5a19..c30eafef 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -2,7 +2,7 @@ CHANGELOG ========= -1.2.3 (2023-08-10) +1.2.3+dev (XXXX-XX-XX) ------------------------- **Bug fix** @@ -14,7 +14,7 @@ CHANGELOG - Improve CSS of the altitude profile of altimetry (#210) -1.2.3 (2023-08-10) +1.2.3 (2023-08-10) ------------------------- **Bug fixes**