Django-maintenance-mode

Latest version: v0.21.1

Safety actively analyzes 682334 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.21.1

- Fix `manage.py maintenance_mode on/off` changes permissions of state file. 172
- Bump requirements and `pre-commit` hooks.

0.21.0

- Add `MAINTENANCE_MODE_LOGOUT_AUTHENTICATED_USER` setting support. 139
- Add `MAINTENANCE_MODE_RESPONSE_TYPE` (`html` or `json`) setting support. 160
- Renamed `settings.MAINTENANCE_MODE_GET_TEMPLATE_CONTEXT` to `settings.MAINTENANCE_MODE_GET_CONTEXT`.
- Write state file atomically in `maintenance_mode.backends.LocalFileBackend`. 162
- Set maintenance mode response `Retry-After` only if `MAINTENANCE_MODE_RETRY_AFTER` setting is not `0` or `None`.
- Replace `black` and `isort` with `ruff-format`.
- Bump requirements.
- Bump `pre-commit` hooks.

0.20.0

- Add `Python 3.12` support.
- Add `Django 5.0` support.
- Speed-up test workflow.
- Bump requirements.
- Bump `pre-commit` hooks.

0.19.0

- Add cache backend (`"maintenance_mode.backends.CacheBackend"`). 153 (by [epicserve](https://github.com/epicserve) in #154)
- Bump requirements, Github actions and pre-commit hooks.

0.18.0

- Drop `Python < 3.8` and `Django < 2.2` support. 99
- Add backend for using default static storage (`"maintenance_mode.backends.StaticStorageBackend"`). (by [matmair](https://github.com/matmair) in #97)
- Replace `str.format` with `f-strings`.
- Replace `setup.py test` in favor of `runtests.py`.
- Bump requirements, Github actions and pre-commit hooks.

0.17.1

- Add `Python 3.11` support.
- Add `Django 4.1` support.
- Add `pre-commit`.
- Bump GitHub actions.
- Improve `maintenance_mode.backends` extendibility.
- Fix `settings.MAINTENANCE_MODE_STATE_FILE_PATH` not working with `pathlib.Path` value. 96

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.