aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/management/commands
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-03-04 20:38:50 +0000
committerMatthew Lemon <matt@matthewlemon.com>2020-03-04 20:38:50 +0000
commit0943dde1fe36876d23a3abfca75c9719f9eafd33 (patch)
tree9c1fb7158417da072b569aa132acada31911695f /ctrack/organisations/management/commands
parent94eebee8f6162b275b94f461873aeb87441e2bab (diff)
removed redundant populate code
Diffstat (limited to 'ctrack/organisations/management/commands')
-rw-r--r--ctrack/organisations/management/commands/populate_db.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/ctrack/organisations/management/commands/populate_db.py b/ctrack/organisations/management/commands/populate_db.py
index 217e43a..e994b41 100644
--- a/ctrack/organisations/management/commands/populate_db.py
+++ b/ctrack/organisations/management/commands/populate_db.py
@@ -159,14 +159,6 @@ class Command(BaseCommand):
fs = FileStoreFactory.create(physical_location_organisation=orgs[1])
# Every org gets on CAF for now
- for _ in orgs:
- CAFFactory.create(
- quality_grading__descriptor=random.choice(q_descriptors),
- confidence_grading__descriptor=random.choice(c_descriptors),
- triage_review_date=None,
- triage_review_inspector=None,
- )
-
for org in orgs:
# create a CAF for it
caf = CAFFactory.create(