Releases: sztamas/django-iprestrict-redux
Releases · sztamas/django-iprestrict-redux
Modernizing the project + bug fixes
- Switched to Poetry (https://python-poetry.org/) + more cleanup
- Switched to pytest and pytest-django
- Drop support for pre-Django 1.10 style MIDDLEWARES
- Switch to old style url to path in urls.py
- Added Black and re-formatted and linted all the code
- Added isort and sorted all imports
- Bugfix: Add rule in admin was throwing an exception
- Handling "unknown" values in
X-Forwarded-For
header; introducesIPRESTRICT_USE_PROXY_IF_UNKNOWN
setting - More cleanup
Django 3 compatibility
This release makes the changes to support Django 3+.
Additionally, support for old releases of Django and Python have been dropped as required.
We are supporting the currently supported Django versions and the Python versions supported by those Django versions as follows:
- Django 2.2 (LTS) - Python versions: 3.5, 3.6, 3.7, 3.8
- Django 3.0, 3.1 - Python versions: 3.6, 3.7, 3.8
References:
Supported Versions section on https://www.djangoproject.com/download/
https://docs.djangoproject.com/en/3.1/faq/install/#what-python-version-can-i-use-with-django