Fix docs build
With the updated docs build job, doc building is failing since DJANGO_SETTINGS_MODULE is not set. Define it properly. Change-Id: Idc43f59bf6d04705a30c02fd316f50706aacd4ef
This commit is contained in:
parent
65f0af6887
commit
a368c4cdf6
@ -20,6 +20,9 @@ import django
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
|
||||
|
||||
# Needs to be set for building documents without tox
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ironic_ui.test.settings')
|
||||
|
||||
sys.path.insert(0, ROOT)
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user