diff --git a/awx/main/management/commands/cleanup_jobs.py b/awx/main/management/commands/cleanup_jobs.py index dd6304e242..66953acde9 100644 --- a/awx/main/management/commands/cleanup_jobs.py +++ b/awx/main/management/commands/cleanup_jobs.py @@ -21,7 +21,7 @@ from awx.main.signals import ( disable_computed_fields ) -from awx.main.management.commands.deletion import AWXCollector, pre_delete +from awx.main.utils.deletion import AWXCollector, pre_delete class Command(BaseCommand): diff --git a/awx/main/tests/functional/commands/test_cleanup_jobs.py b/awx/main/tests/functional/commands/test_cleanup_jobs.py index ed50698338..98be403d1f 100644 --- a/awx/main/tests/functional/commands/test_cleanup_jobs.py +++ b/awx/main/tests/functional/commands/test_cleanup_jobs.py @@ -6,7 +6,7 @@ from collections import OrderedDict from django.db.models.deletion import Collector, SET_NULL, CASCADE from django.core.management import call_command -from awx.main.management.commands.deletion import AWXCollector +from awx.main.utils.deletion import AWXCollector from awx.main.models import ( JobTemplate, User, Job, JobEvent, Notification, WorkflowJobNode, JobHostSummary diff --git a/awx/main/management/commands/deletion.py b/awx/main/utils/deletion.py similarity index 100% rename from awx/main/management/commands/deletion.py rename to awx/main/utils/deletion.py