mirror of
https://github.com/ansible/awx.git
synced 2026-02-12 07:04:45 -03:30
14 lines
485 B
Python
14 lines
485 B
Python
# This file exists for backwards compatibility only
|
|
# the current way of running AWX is to point settings to
|
|
# awx/settings/__init__.py as the entry point for the settings
|
|
# that is done by exporting: export DJANGO_SETTINGS_MODULE=awx.settings
|
|
import os
|
|
|
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "awx.settings")
|
|
os.environ.setdefault("AWX_MODE", "development,quiet")
|
|
|
|
from ansible_base.lib.dynamic_config import export
|
|
from . import DYNACONF # noqa
|
|
|
|
export(__name__, DYNACONF)
|