Merge pull request #2423 from SchrodingersGat/maintenance-mode-state-file

Adjustments for maintenance-mode options:
This commit is contained in:
Oliver 2021-12-06 09:48:43 +11:00 committed by GitHub
commit 07c88328ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,10 +215,6 @@ MAINTENANCE_MODE_STATE_FILE_PATH = os.path.join(
'maintenance_mode_state.txt',
)
MAINTENANCE_MODE_IGNORE_ADMIN_SITE = True
MAINTENANCE_MODE_IGNORE_SUPERUSER = True
# List of allowed hosts (default = allow all)
ALLOWED_HOSTS = CONFIG.get('allowed_hosts', ['*'])