mirror of
https://github.com/ansible/awx.git
synced 2026-05-02 23:25:29 -02:30
Use advisory_lock from DAB (#15676)
* Use advisory_lock from DAB * Remove the django-pglocks dep * Re-run updater script * Move the import in new location
This commit is contained in:
@@ -6,8 +6,10 @@ import uuid
|
||||
from django.db import models
|
||||
from django.conf import settings
|
||||
from django.db.models.functions import Lower
|
||||
|
||||
from ansible_base.lib.utils.db import advisory_lock
|
||||
|
||||
from awx.main.utils.filters import SmartFilter
|
||||
from awx.main.utils.pglock import advisory_lock
|
||||
from awx.main.constants import RECEPTOR_PENDING
|
||||
|
||||
___all__ = ['HostManager', 'InstanceManager', 'DeferJobCreatedManager', 'UUID_DEFAULT']
|
||||
|
||||
Reference in New Issue
Block a user