aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/management
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-02-21 15:59:46 +0000
committerMatthew Lemon <lemon@matthewlemon.com>2020-02-21 15:59:46 +0000
commit46107b7539211adbe71ab25d319b5c1f744fe4c4 (patch)
treec61a4a8c54b81df5f1b964ef3abade6d4c482a57 /ctrack/organisations/management
parentef984ebeac44dea908ca773e5aefeda4baaed431 (diff)
Clean up and fixed failing test after factory change
Diffstat (limited to 'ctrack/organisations/management')
-rw-r--r--ctrack/organisations/management/commands/populate_db.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ctrack/organisations/management/commands/populate_db.py b/ctrack/organisations/management/commands/populate_db.py
index 1613cde..4477b63 100644
--- a/ctrack/organisations/management/commands/populate_db.py
+++ b/ctrack/organisations/management/commands/populate_db.py
@@ -40,10 +40,6 @@ class Command(BaseCommand):
submodes = [sb1, sb2, sb3, sb4, sb5, sb6, sb7]
- # TODO: Create 40 odd organisations here, get their ids and pass them into PersonFactory.create_batch()
- # below. Then we need to write a post_generation hook in PersonFactory which ensures that the person
- # is only added to these Organisations and no further Organisation objects are created.
-
# we need a User object to completed the updated_by fields in Organisation and Person
user = (
UserFactory.create()