doc: Drop DJANGO_SETTINGS_MODULE environment

... because django is not relevant to ceilometer.

Change-Id: Ia0bcc7dda26c8632fe1f932946268bfeb5bb18dc
This commit is contained in:
Takashi Kajinami 2023-12-18 21:02:25 +09:00
parent d1c86139de
commit 44a2711bfd

View File

@ -20,9 +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.