From eb9e1b7167e176ee0a03c52904d0773588b52d9d Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 28 Jul 2021 19:20:50 -0400 Subject: [PATCH] Working on continuing education certs --- app/main.py | 3 +++ app/routers/api_crud.py | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 8d46fda..5cd888f 100644 --- a/app/main.py +++ b/app/main.py @@ -283,10 +283,13 @@ origins = [ 'http://demo.localhost:5000', 'http://localhost:7800', 'https://oneskyit.com', + 'http://dev-idaa.home:5000', 'http://dev-idaa.localhost:5000', 'http://dev.home:5000', 'http://connect.home:5000', 'http://connect.localhost:5000', + 'http://idaa.home:5000', + 'http://idaa.localhost:5000', 'http://svelte.localhost:5555', ] diff --git a/app/routers/api_crud.py b/app/routers/api_crud.py index 4d86deb..f06e4e2 100644 --- a/app/routers/api_crud.py +++ b/app/routers/api_crud.py @@ -16,6 +16,8 @@ from app.models.address_models import * from app.models.archive_models import * from app.models.archive_content_models import * from app.models.contact_models import * +from app.models.cont_edu_cert_models import * +from app.models.cont_edu_cert_person_models import * from app.models.event_models import * from app.models.event_abstract_models import * from app.models.event_badge_models import * @@ -68,7 +70,8 @@ obj_type_li['archive'] = {'table_name': 'v_archive', 'base_name': Archive_Base} obj_type_li['archive_content'] = {'table_name': 'v_archive_content', 'base_name': Archive_Content_Base} #obj_type_li['change_log'] = {'table_name': 'change_log', 'base_name': Change_Log_Base} obj_type_li['contact'] = {'table_name': 'v_contact', 'base_name': Contact_Base} -#obj_type_li['cont_edu_cert'] = {'table_name': 'cont_edu_cert', 'base_name': Cont_Edu_Cert_Base} +obj_type_li['cont_edu_cert'] = {'table_name': 'v_cont_edu_cert', 'base_name': Cont_Edu_Cert_Base} +obj_type_li['cont_edu_cert_person'] = {'table_name': 'v_cont_edu_cert_person', 'base_name': Cont_Edu_Cert_Person_Base} obj_type_li['event'] = {'table_name': 'v_event', 'base_name': Event_Base} obj_type_li['event_badge'] = {'table_name': 'event_badge', 'base_name': Event_Badge_Base} #obj_type_li['event_badge_log'] = {'table_name': 'event_badge_log', 'base_name': Event_Badge_Log_Base}