summaryrefslogtreecommitdiffstats
path: root/engagements/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'engagements/utils.py')
-rw-r--r--engagements/utils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/engagements/utils.py b/engagements/utils.py
index 2c4ff72..3b414e9 100644
--- a/engagements/utils.py
+++ b/engagements/utils.py
@@ -11,6 +11,7 @@ from engagements.models import (
Organisation,
Person,
RegulatedEntityType,
+ RegulatoryCycle,
RegulatoryRole,
)
from instruments.models import Instrument, SubInstrument
@@ -88,6 +89,11 @@ def populate_database():
designator="JSP628",
owner=o1,
)
+ # Some Regulatory Cycles
+ RegulatoryCycle.objects.create(start_date="2022-01-01", end_date="2022-12-31")
+ RegulatoryCycle.objects.create(start_date="2023-01-01", end_date="2023-12-31")
+ RegulatoryCycle.objects.create(start_date="2024-01-01", end_date="2024-12-31")
+
# Create the DSCs
Faker.seed(0)
SubInstrument.objects.all().delete()