diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-12 17:06:26 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-12 17:06:26 +0100 |
commit | 84f2eccea7759dc694c83b770b0066a11cae7ecd (patch) | |
tree | 8d2473e3228f1a972bde4db534854d36d9ef0159 /ctrack/organisations/management/commands | |
parent | 4201470c63c9719ca90710847985fc548ad9e6b9 (diff) |
started to think about tests for assessment app
Diffstat (limited to 'ctrack/organisations/management/commands')
-rw-r--r-- | ctrack/organisations/management/commands/populate_db.py | 2 |
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( |