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:
parent
6cece17024
commit
32720b2cc4
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user