Django-lockdown

Latest version: v3.0.0

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

Scan your dependencies

Page 1 of 3

2.0.0

------------------

- Added support for proxies when using IP-address based lockdown exceptions.

- This introduces a breaking change: Installations running behind a proxy will
need to set the newly introduced ``LOCKDOWN_TRUSTED_PROXIES``, otherwise
access won't be granted anymore, when accessing the site through a proxy.

- Added the ability to whitelist views when locking down a whole site using
the middleware.

- Added support for Django 2.2.

- Only require ``mock`` as separate third-party test dependency for
Python <3.3.

- Fix detection of compacted IP-addresses.

- This introduces a breaking change for users which make use of the
``REMOTE_ADDR_EXCEPTIONS`` feature and passed the IP-addresses to except as
byte strings in the configuration. While it's unlikely somebody did that
with Python 3, it's the default for Python 2. With this version, byte
strings don't work anymore, but using unicode strings is required.

- Add the ability to specify IP-subnets for remote addresses exception.

1.6.0

------------------

- Drops support for Django <=1.10.

- Drops support for Python 3.3.

- Add the ability to bypass the lockdown for configured IP-addresses.

- Integrate pre-commit for code style checks during commit and CI.

- Added support for Django 2.1.

- Add support for Python 3.7.

- Add support for PyPy.

1.5.0

------------------

- Add support for Django 2.0

- Improve the code style in some areas

1.4.2

------------------

- Fix formatting for PyPi

1.4.1

------------------

- Fix problem with upload for PyPi

1.4.0

------------------

- Refactor tests to use Mocks

- Add support for Python 3.6

- Add support for Django 1.11

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.