diff --git a/add_cdsa_example_data.py b/add_cdsa_example_data.py index c4f9d599..61e28226 100644 --- a/add_cdsa_example_data.py +++ b/add_cdsa_example_data.py @@ -9,6 +9,7 @@ ManagedGroupFactory, WorkspaceGroupSharingFactory, ) +from django.conf import settings from primed.cdsa.tests import factories from primed.duo.tests.factories import DataUseModifierFactory, DataUsePermissionFactory @@ -33,7 +34,7 @@ dum = DataUseModifierFactory.create(abbreviation="NPU") # create the CDSA auth group -cdsa_group = ManagedGroupFactory.create(name="PRIMED_CDSA") +cdsa_group = ManagedGroupFactory.create(name=settings.ANVIL_CDSA_GROUP_NAME) # Create some study sites. StudySiteFactory.create(short_name="CARDINAL", full_name="CARDINAL")