Merge "doc: Drop DJANGO_SETTINGS_MODULE environment"

This commit is contained in:
Zuul 2023-12-20 11:13:08 +00:00 committed by Gerrit Code Review
commit 079e5eda9f
1 changed files with 0 additions and 3 deletions

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.