aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations
diff options
context:
space:
mode:
authorMR Lemon <matt@matthewlemon>2020-05-12 17:06:26 +0100
committerMR Lemon <matt@matthewlemon>2020-05-12 17:06:26 +0100
commit84f2eccea7759dc694c83b770b0066a11cae7ecd (patch)
tree8d2473e3228f1a972bde4db534854d36d9ef0159 /ctrack/organisations
parent4201470c63c9719ca90710847985fc548ad9e6b9 (diff)
started to think about tests for assessment app
Diffstat (limited to 'ctrack/organisations')
-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(