mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
move custom deletion tool for cleanup jobs to utils
This commit is contained in:
@@ -21,7 +21,7 @@ from awx.main.signals import (
|
|||||||
disable_computed_fields
|
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):
|
class Command(BaseCommand):
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ from collections import OrderedDict
|
|||||||
from django.db.models.deletion import Collector, SET_NULL, CASCADE
|
from django.db.models.deletion import Collector, SET_NULL, CASCADE
|
||||||
from django.core.management import call_command
|
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 (
|
from awx.main.models import (
|
||||||
JobTemplate, User, Job, JobEvent, Notification,
|
JobTemplate, User, Job, JobEvent, Notification,
|
||||||
WorkflowJobNode, JobHostSummary
|
WorkflowJobNode, JobHostSummary
|
||||||
|
|||||||
Reference in New Issue
Block a user