From e9d47a21c510ea85c73f28ef61e50b7cf4d12a0b Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Wed, 17 Feb 2021 23:30:07 +0100 Subject: [PATCH] ### 0.0.18 Release --- src/covid19/blueprints/ecdc/ecdc_views.py | 1 + src/covid19/blueprints/rki_bundeslaender/rki_views.py | 3 ++- src/covid19/blueprints/rki_landkreise/rki_views.py | 5 +---- .../blueprints/rki_vaccination/rki_vaccination_views.py | 1 + src/covid19/blueprints/who/who_views.py | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/covid19/blueprints/ecdc/ecdc_views.py b/src/covid19/blueprints/ecdc/ecdc_views.py index 4e57aae4..0eccb92c 100644 --- a/src/covid19/blueprints/ecdc/ecdc_views.py +++ b/src/covid19/blueprints/ecdc/ecdc_views.py @@ -14,6 +14,7 @@ from covid19.blueprints.application.application_model_transient import Applicati app_ecdc = Blueprint('ecdc', __name__, template_folder='templates', url_prefix='/ecdc') +admin.add_view(ModelView(EcdcImport, db.session, category="ECDC")) admin.add_view(ModelView(EcdcDateReported, db.session, category="ECDC")) admin.add_view(ModelView(EcdcContinent, db.session, category="ECDC")) admin.add_view(ModelView(EcdcCountry, db.session, category="ECDC")) diff --git a/src/covid19/blueprints/rki_bundeslaender/rki_views.py b/src/covid19/blueprints/rki_bundeslaender/rki_views.py index a11fbd2f..aac36be2 100644 --- a/src/covid19/blueprints/rki_bundeslaender/rki_views.py +++ b/src/covid19/blueprints/rki_bundeslaender/rki_views.py @@ -14,8 +14,9 @@ drop_and_create_data_again = True app_rki_bundeslaender = Blueprint( 'rki_bundeslaender', __name__, template_folder='templates', url_prefix='/rki/bundeslaender') -admin.add_view(ModelView(RkiBundeslaender, db.session, category="RKI Cases and Deaths")) + admin.add_view(ModelView(RkiBundeslaenderImport, db.session, category="RKI Cases and Deaths")) +admin.add_view(ModelView(RkiBundeslaender, db.session, category="RKI Cases and Deaths")) ################################################################################################################## diff --git a/src/covid19/blueprints/rki_landkreise/rki_views.py b/src/covid19/blueprints/rki_landkreise/rki_views.py index 3c649309..3e087b15 100644 --- a/src/covid19/blueprints/rki_landkreise/rki_views.py +++ b/src/covid19/blueprints/rki_landkreise/rki_views.py @@ -19,11 +19,8 @@ app_rki_landkreise = Blueprint( url_prefix='/rki/landkreise' ) -admin.add_view(ModelView(RkiDateReported, db.session, category="RKI Cases and Deaths")) -admin.add_view(ModelView(RkiRegion, db.session, category="RKI Cases and Deaths")) -admin.add_view(ModelView(RkiCountry, db.session, category="RKI Cases and Deaths")) -admin.add_view(ModelView(RkiLandkreise, db.session, category="RKI Cases and Deaths")) admin.add_view(ModelView(RkiLandkreiseImport, db.session, category="RKI Cases and Deaths")) +admin.add_view(ModelView(RkiLandkreise, db.session, category="RKI Cases and Deaths")) ################################################################################################################## diff --git a/src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py index 8c2b477b..77a12457 100644 --- a/src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py +++ b/src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py @@ -14,6 +14,7 @@ from covid19.blueprints.application.application_model_transient import Applicati app_rki_vaccination = Blueprint('rki_vaccination', __name__, template_folder='templates', url_prefix='/rki/vaccination') +admin.add_view(ModelView(RkiVaccinationImport, db.session, category="RKI Vaccination")) admin.add_view(ModelView(RkiVaccinationDateReported, db.session, category="RKI Vaccination")) admin.add_view(ModelView(RkiVaccinationData, db.session, category="RKI Vaccination")) diff --git a/src/covid19/blueprints/who/who_views.py b/src/covid19/blueprints/who/who_views.py index 2bd8b905..afd7e2d2 100644 --- a/src/covid19/blueprints/who/who_views.py +++ b/src/covid19/blueprints/who/who_views.py @@ -15,6 +15,7 @@ from covid19.blueprints.application.application_model_transient import Applicati app_who = Blueprint('who', __name__, template_folder='templates', url_prefix='/who') +admin.add_view(ModelView(WhoImport, db.session, category="WHO")) admin.add_view(ModelView(WhoDateReported, db.session, category="WHO")) admin.add_view(ModelView(WhoRegion, db.session, category="WHO")) admin.add_view(ModelView(WhoCountry, db.session, category="WHO")) -- GitLab