1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00

Add Schedule to the system job migration

This commit is contained in:
Matthew Jones 2016-05-05 16:06:26 -04:00
parent 6cece17024
commit 32720b2cc4

View File

@ -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()