doc: Drop DJANGO_SETTINGS_MODULE environment

This was imported from ceilometer but has never been actually required.

Change-Id: Iff2359ac4efa170031de5a79170c0cf73215934d
This commit is contained in:
Takashi Kajinami 2023-12-18 21:04:56 +09:00
parent 93700aa365
commit 2b343c22b3

View File

@ -53,9 +53,6 @@ cfg.CONF.set_override(name='plugin_dirs', override=PLUGIN_DIRS)
cfg.CONF.import_opt('environment_dir', 'heat.common.config')
cfg.CONF.set_override(name='environment_dir', override=TEMP_ENV_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.