Allow DJANGO_SETTINGS_MODULE to be customized in reviewboard.wsgi.
Review Request #13503 — Created Jan. 18, 2024 and submitted — Latest diff uploaded
The
reviewboard.wsgi
module had hard-codedDJANGO_SETTINGS_MODULE
to
reviewboard.settings
. This is fine for 99.999% of users, but for some
very specialized cases, a separate settings module may need to be used.
In order to make this as easy as possible, any existing
DJANGO_SETTINGS_MODULE
will now be respected, rather than being
overridden.
Tested this on an in-development server with a customized settings
environment.