aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/management/commands/populate_db.py
diff options
context:
space:
mode:
Diffstat (limited to 'ctrack/organisations/management/commands/populate_db.py')
-rw-r--r--ctrack/organisations/management/commands/populate_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/organisations/management/commands/populate_db.py b/ctrack/organisations/management/commands/populate_db.py
index 1b10520..c2b8a85 100644
--- a/ctrack/organisations/management/commands/populate_db.py
+++ b/ctrack/organisations/management/commands/populate_db.py
@@ -588,7 +588,7 @@ class Command(BaseCommand):
for al in achievement_levels:
for co in cos:
- for igp in range(2):
+ for igp in range(1, random.randint(2,5)):
dtext_fake = Faker()
fake_txt = f"IGP {igp}/{al.descriptor}/{co.designation}: {dtext_fake.paragraph()}"
IGP.objects.create(