From d6416e32e40360ab6d2563ca35077a84028fedf0 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Mon, 18 Dec 2023 21:03:28 +0900 Subject: [PATCH] doc: Drop DJANGO_SETTINGS_MODULE environment ... because django is not relevant to aodh. Change-Id: I23baadd4c69de2b1f0fac335ddc48bb5e3ec971f --- doc/source/conf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 37d9f6d14..18a57325e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -20,10 +20,6 @@ ROOT = os.path.abspath(os.path.join(BASE_DIR, "..", "..")) sys.path.insert(0, ROOT) sys.path.insert(0, BASE_DIR) -# This is required for ReadTheDocs.org, but isn't a bad idea anyway. -os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' - - # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here.