Skip to content
Snippets Groups Projects
Unverified Commit 511ff304 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

FInalise naming of maintenance mode settings.

parent 8d582a6d
No related branches found
No related tags found
No related merge requests found
......@@ -243,8 +243,9 @@ ADMINS = _settings.get('admins', [])
TEMPLATE_VISIBLE_SETTINGS = ['ADMINS']
MAINTENANCE_MODE = _settings.get('maintenance.activate', 'None')
MAINTENANCE_MODE_IGNORE_IP_ADDRESSES = _settings.get('maintenance.ignore_ips', _settings.get('debug.internal_ips', []))
MAINTENANCE_MODE = _settings.get('maintenance.enabled', 'None')
MAINTENANCE_MODE_IGNORE_IP_ADDRESSES = _settings.get(
'maintenance.ignore_ips', _settings.get('debug.internal_ips', []))
MAINTENANCE_MODE_GET_CLIENT_IP_ADDRESS = 'ipware.ip.get_ip'
MAINTENANCE_MODE_IGNORE_SUPERUSER = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment