Skip to content

Commit

Permalink
Merge branch 'release/0.3.49' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Mar 25, 2024
2 parents 430b543 + f384eca commit 195ab63
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion edc_export/archive_exporter.py
Expand Up @@ -3,7 +3,7 @@
from tempfile import mkdtemp
from typing import TYPE_CHECKING, Type

from edc_pdutils import CsvModelExporter
from edc_pdutils.df_exporters import CsvModelExporter
from edc_sites.site import sites
from edc_utils import get_utcnow

Expand Down
2 changes: 1 addition & 1 deletion edc_export/model_exporter/model_exporter.py
Expand Up @@ -4,7 +4,7 @@

from django.apps import apps as django_apps
from django.core.exceptions import ValidationError
from edc_pdutils import ValueGetter
from edc_pdutils.model_to_dataframe import ValueGetter
from edc_utils import get_utcnow

from ..utils import get_export_folder
Expand Down
3 changes: 2 additions & 1 deletion edc_export/tests/tests/test_model_exporter.py
Expand Up @@ -3,7 +3,8 @@

from django.test import TestCase, override_settings
from edc_facility.import_holidays import import_holidays
from edc_pdutils import CsvModelExporter, ModelToDataframe
from edc_pdutils.df_exporters import CsvModelExporter
from edc_pdutils.model_to_dataframe import ModelToDataframe
from edc_utils import get_utcnow
from edc_visit_schedule.site_visit_schedules import site_visit_schedules

Expand Down
4 changes: 4 additions & 0 deletions export_app/models.py
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 195ab63

Please sign in to comment.