From 0943dde1fe36876d23a3abfca75c9719f9eafd33 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 4 Mar 2020 20:38:50 +0000 Subject: removed redundant populate code --- ctrack/organisations/management/commands/populate_db.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'ctrack/organisations/management/commands') 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( -- cgit v1.2.3