mirror of
https://github.com/ansible/awx.git
synced 2026-02-05 03:24:50 -03:30
* Move filtering to DAB * add comment to trigger building a new image Signed-off-by: jessicamack <jmack@redhat.com> * remove unneeded comment Signed-off-by: jessicamack <jmack@redhat.com> * remove unused imports Signed-off-by: jessicamack <jmack@redhat.com> * change mock import Signed-off-by: jessicamack <jmack@redhat.com> --------- Signed-off-by: jessicamack <jmack@redhat.com> Co-authored-by: jessicamack <jmack@redhat.com>
11 lines
288 B
Python
11 lines
288 B
Python
# Copyright (c) 2017 Ansible by Red Hat
|
|
# All Rights Reserved.
|
|
|
|
|
|
from awx.settings.application_name import set_application_name
|
|
from django.conf import settings
|
|
|
|
|
|
def set_connection_name(function):
|
|
set_application_name(settings.DATABASES, settings.CLUSTER_HOST_ID, function=function)
|