doc: Drop DJANGO_SETTINGS_MODULE environment

... because django is not relevant to aodh.

Change-Id: I23baadd4c69de2b1f0fac335ddc48bb5e3ec971f
This commit is contained in:
Takashi Kajinami 2023-12-18 21:03:28 +09:00
parent 59a43ef35a
commit d6416e32e4

View File

@ -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.