You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add scheduled maintenance mode support: set_maintenance_mode(True, start=..., end=...) and manage.py maintenance_mode on --start ... --end ... (maintenance mode automatically activates/deactivates itself based on the scheduled datetimes). #64
Note for custom state backends consumers: get_value() now returns bool or dict (scheduled state), and the state file format is extended accordingly (running maintenance_mode off restores the plain bool format).
Add MAINTENANCE_MODE_LOGOUT_STAFF_USER and MAINTENANCE_MODE_LOGOUT_SUPERUSER settings to override the MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER behavior for staff users and superusers (if None, default, they inherit the MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER behavior). #191
Allow MAINTENANCE_MODE_RESPONSE_TYPE to be the path of a function that receives the request and returns the response type ("html" or "json"). #204
Add MAINTENANCE_MODE_GET_AUTHENTICATED_USER setting to support non-session authentication (eg. JWT / token authentication with django-rest-framework). #233