From 32720b2cc4e2599a57ddf81ec1d9c334d71b29f1 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 5 May 2016 16:06:26 -0400 Subject: [PATCH] Add Schedule to the system job migration --- awx/main/migrations/0010_v300_create_system_job_templates.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/migrations/0010_v300_create_system_job_templates.py b/awx/main/migrations/0010_v300_create_system_job_templates.py index e664a5d77f..553a4f58c3 100644 --- a/awx/main/migrations/0010_v300_create_system_job_templates.py +++ b/awx/main/migrations/0010_v300_create_system_job_templates.py @@ -14,6 +14,7 @@ def create_system_job_templates(apps, schema_editor): ''' SystemJobTemplate = apps.get_model('main', 'SystemJobTemplate') + Schedule = apps.get_model('main', 'Schedule') ContentType = apps.get_model('contenttypes', 'ContentType') sjt_ct = ContentType.objects.get_for_model(SystemJobTemplate) now_dt = now()