diff options
Diffstat (limited to 'ctrack/organisations')
-rw-r--r-- | ctrack/organisations/management/commands/populate_db.py | 4 | ||||
-rw-r--r-- | ctrack/organisations/migrations/0005_auto_20200303_0727.py | 18 |
2 files changed, 21 insertions, 1 deletions
diff --git a/ctrack/organisations/management/commands/populate_db.py b/ctrack/organisations/management/commands/populate_db.py index 8a2ad84..31e2447 100644 --- a/ctrack/organisations/management/commands/populate_db.py +++ b/ctrack/organisations/management/commands/populate_db.py @@ -139,7 +139,7 @@ class Command(BaseCommand): etf1 = EngagementTypeFactory(descriptor="Information Notice") etf2 = EngagementTypeFactory(descriptor="Designation Letter") - etf3 = EngagementTypeFactory(descriptor="CAF Submission") + etf3 = EngagementTypeFactory(descriptor="CAF - Initial Submission") ee1 = EngagementEventFactory.create(type=etf1, user=user, participants=[p1, p2]) ee2 = EngagementEventFactory.create(type=etf2, user=user, participants=[p3]) @@ -163,6 +163,8 @@ class Command(BaseCommand): owner=random.choice(orgs), quality_grading__descriptor=random.choice(q_descriptors), confidence_grading__descriptor=random.choice(c_descriptors), + triage_review_date=None, + triage_review_inspector=None, ) for _ in range(35) ] diff --git a/ctrack/organisations/migrations/0005_auto_20200303_0727.py b/ctrack/organisations/migrations/0005_auto_20200303_0727.py new file mode 100644 index 0000000..8db8302 --- /dev/null +++ b/ctrack/organisations/migrations/0005_auto_20200303_0727.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.9 on 2020-03-03 07:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('organisations', '0004_auto_20200220_1634'), + ] + + operations = [ + migrations.AlterField( + model_name='organisation', + name='designation_type', + field=models.IntegerField(choices=[(1, 'Automatic'), (2, 'Reserve Power'), (3, 'NA')], default=1), + ), + ] |