Allow DJANGO_SETTINGS_MODULE to be customized in reviewboard.wsgi.

Review Request #13503 — Created Jan. 18, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

The reviewboard.wsgi module had hard-coded DJANGO_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.

Commits

Files