summaryrefslogtreecommitdiffstats
path: root/engagements/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'engagements/utils.py')
-rw-r--r--engagements/utils.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/engagements/utils.py b/engagements/utils.py
index b80e74d..a22595e 100644
--- a/engagements/utils.py
+++ b/engagements/utils.py
@@ -14,7 +14,7 @@ from engagements.models import (
RegulatoryCycle,
RegulatoryRole,
)
-from instruments.models import Instrument, SubInstrument
+from instruments.models import SOP, Instrument, SubInstrument
from myuser.models import Team, TeamUser
@@ -69,6 +69,15 @@ def populate_database():
out["users"].append(u)
u.save()
+ # SOPs
+ SOP.objects.create(
+ name="SOP 1",
+ designation="SOP1",
+ sp_link="https://example.com",
+ draft_status="Draft",
+ author_lead=u1,
+ )
+
# RegulatoryRoles
RegulatoryRole.objects.all().delete()
RegulatoryRole.objects.create(