From 811065575991b9391669949432ad1717d8e334ac Mon Sep 17 00:00:00 2001 From: erikvw Date: Fri, 8 Mar 2024 00:29:11 -0600 Subject: [PATCH] fix tests --- screening_app/consents.py | 2 +- screening_app/models.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/screening_app/consents.py b/screening_app/consents.py index ad2b603..f960768 100644 --- a/screening_app/consents.py +++ b/screening_app/consents.py @@ -3,7 +3,7 @@ from edc_protocol.research_protocol_config import ResearchProtocolConfig consent_v1 = ConsentDefinition( - model="screening_app.subjectconsent", + model="screening_app.subjectconsentv1", start=ResearchProtocolConfig().study_open_datetime, end=ResearchProtocolConfig().study_close_datetime, gender=["M", "F"], diff --git a/screening_app/models.py b/screening_app/models.py index 7af17a7..c082b0b 100644 --- a/screening_app/models.py +++ b/screening_app/models.py @@ -60,3 +60,8 @@ class SubjectConsent( class Meta(ConsentModelMixin.Meta): pass + + +class SubjectConsentV1(SubjectConsent): + class Meta: + proxy = True