We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d33c7 commit 2ba2233Copy full SHA for 2ba2233
edc_consent/consent_definition.py
@@ -18,7 +18,6 @@
18
ConsentDefinitionValidityPeriodError,
19
NotConsentedError,
20
)
21
-from .managers import ConsentObjectsByCdefManager, CurrentSiteByCdefManager
22
23
if TYPE_CHECKING:
24
from edc_model.models import BaseUuidModel
@@ -79,6 +78,8 @@ def __post_init__(self):
79
78
80
@property
81
def model(self):
+ from .managers import ConsentObjectsByCdefManager, CurrentSiteByCdefManager
82
+
83
model_cls = django_apps.get_model(self._model)
84
if not model_cls._meta.proxy:
85
raise ConsentDefinitionError(
0 commit comments