Skip to content

Commit

Permalink
fix test models
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 25, 2024
1 parent 9875958 commit f384eca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions export_app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from django.db import models
from django.db.models.deletion import PROTECT
from django_crypto_fields.fields import EncryptedCharField
from edc_consent.managers import ConsentObjectsByCdefManager, CurrentSiteByCdefManager
from edc_constants.constants import YES
from edc_crf.model_mixins import CrfWithActionModelMixin
from edc_identifier.managers import SubjectIdentifierManager
Expand Down Expand Up @@ -65,6 +66,9 @@ class SubjectConsent(


class SubjectConsentV1(SubjectConsent):
on_site = CurrentSiteByCdefManager()
objects = ConsentObjectsByCdefManager()

class Meta:
proxy = True

Expand Down

0 comments on commit f384eca

Please sign in to comment.