Django-guardian

Latest version: v2.4.0

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

Scan your dependencies

Page 1 of 7

2.4.0

============================

* Add support for Python 3.9
* Add support for Django 3.1, Django 3.2
* Add parameter `any_perm` to `PermissionRequiredMixin`
* Switch from Travis CI to `GitHub Actions`_

2.3.0

===============================

* Drop support for Django 2.1
* Fix compatibility with UUIDField primary keys
* Fix formatting for pyupgrade
* Fix error with get_objects_for_user on PostgreSQL
* Modify 'assign_perm' shortcut to treat lists as a queryset
* Updated links to Django documentation and django-authority repository
* Removed reference to "easy_install" in the documentation
* Run migrations check only if required version of django is installed

2.2.0

===============================

* Add support for Django 3.0 and Python 3.8.
* Add support for custom generic object permission models.
* Don't initialise anonymous user on DB where it's not migrated.
* Allow object permissions with dots.
* Several performance improvements
* Improve performance of ``get_objects_for_user``
* Update ``get_users_with_perms`` to avoid a large join

.. important::
The 2.2.x release line will be the last one that has support for Django 2.1.

2.1.0

=================================

* Upgrade to use django.urls.path in routing
* Add admin support for user primary key as UUID
* Auto pre-fetching permission via GUARDIAN_AUTO_PREFETCH
* Add tests for missing migrations

2.0.0

=============================

* Drop support for Python 2.7 & 3.4 and Django 1.11 & 2.0

1.5.1

===========================

* Restore compatibility with Python 2.7

.. important::
The 1.5.x release line will be the last one that has support for Python 2.7.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.