From 525e0192d3a03ec9baba0719d026f9b95462bf28 Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Thu, 14 Jan 2021 18:25:46 +0100 Subject: [PATCH] ### 0.0.6 Release * Fixed #6 data of all reported countries for WHO date reported * Fixed #7 WHO Countries all - data for Country --- README.md | 5 ++++- app.py | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index de30c8ae..ceae0909 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,11 @@ ### 0.0.6 Release * Fixed #6 data of all reported countries for WHO date reported +* Fixed #7 WHO Countries all - data for Country + +### 0.0.7 Release * Issue #3 ORM: 3NF for ecdc_europa_data_import * Issue #4 data update for 3NF ecdc_europa_data_import -### 0.0.7 Release +### 0.0.8 Release * Issue #5 Visual Graphs for Data per Countries order by Date diff --git a/app.py b/app.py index f9ddbac1..b887efc6 100644 --- a/app.py +++ b/app.py @@ -153,6 +153,7 @@ def url_who_region_all(page=1): @app.route('/who/region/<int:region_id>/page/<int:page>') @app.route('/who/region/<int:region_id>') def url_who_region_countries(region_id, page=1): + who_region = None page_info = ApplicationPage("Countries", "WHO Region") try: who_region = WhoRegion.get_by_id(region_id) @@ -170,6 +171,8 @@ def url_who_region_countries(region_id, page=1): page_info=page_info) +@app.route('/who/country/<int:country_id>/page/<int:page>') +@app.route('/who/country/<int:country_id>') @app.route('/who/region/country/<int:country_id>/page/<int:page>') @app.route('/who/region/country/<int:country_id>') def url_who_region_country(country_id, page=1): -- GitLab