Django-qsessions

Latest version: v2.0.0

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

Scan your dependencies

Page 1 of 3

2.0.0

- Add support for Python 3.13 and drop support for Python 3.8.

Backward-incompatible changes:

- The IP is now read directly from the value of `REMOTE_ADDR`
(instead of relying on **django-ipware**)
for the same reason Django
[removed](https://docs.djangoproject.com/en/5.2/releases/1.1/#removed-setremoteaddrfromforwardedfor-middleware)
`SetRemoteAddrFromForwardedFor` middleware in 1.1.
If you are using a reverse proxy,
you should configure it
to pass the real IP address in the `REMOTE_ADDR` header,
or you can write a custom version of
[`SetRemoteAddrFromForwardedFor` middleware](https://github.com/django/django/blob/91f18400cc0fb37659e2dbaab5484ff2081f1f30/django/middleware/http.py#L33)
which suits your environment.
- `session.location` and `session.location_info` are now properties
instead of methods.
- `session.device` is now a property instead of a method and returns string.
- The device object can be accessed using the new property `session.device_info`.
- User agent parsing is now done using `ua-parser` instead of `user-agents`.
- The device object is now an instance of `ua_parser.core.Result`
instead of `user_agents.parsers.UserAgent`.

1.1.5

- Add support for Python 3.12 and drop support for Python 3.7.
- Add support for Django 4.2, 5.0 and drop support for Django 3.2, 4.1.
- Fix a bug in admin ("add" and "edit" session).
- **Nov 3, 2024:** Add support for Django 5.1.

Thanks [ataylor32](https://github.com/ataylor32), [browniebroke](https://github.com/browniebroke)

1.1.4

- Add Django 4.1 support.
- Drop support for Python 3.6.
- Drop support for Django 2.2, 3.0, 3.1.

Thanks [akx](https://github.com/akx)

1.1.3

- Add Django 4.0 support.
- Drop support for Django 1.11, 2.0, 2.1.

1.1.2

- Use gettext_lazy instead of ugettext_lazy.

Thanks [akx](https://github.com/akx)

1.1.1

- Set development status to Production/Stable in setup.py.

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.