Django-allianceutils

Latest version: v4.1.1

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

Scan your dependencies

Page 1 of 3

4.1.1

Fixed

* Remove dependency on deprecated distutils package

Added

* Copied `strtobool` from distutils

4.1.0

Fixed

* Resolve bug in `CurrentUserMiddleware` where if an exception was raised, middleware triggers an additional exception
* Fix types for all django checks to accept `None` for the `app_configs` argument

Added

* Added `check_duplicated_middleware` system check to ensure no middleware gets included twice in config

4.0.1

Fixed

* `is_static_expression` now handles expressions with filters correctly

4.0.0

Breaking Changes
* Dropped support for django 3.2

Added

* Add support for django 5.0
* Add `CurrentRequestMiddleware`
* Add `tox-poetry-installer` middleware to allow better management of tox dependencies in poetry

* Migrate `common_lib.templatetags.common` from template project to `template.py` with the following functions:
* `resolve`
* `token_kwargs`
* `parse_tag_arguments`
* `build_html_attrs`
* `is_static_expression`

* Migrate `common_lib.tests.util` from template project to `tests/util.py` with the following decorators:
* `suppress_silk`
* `logging_filter`
* `warning_filter`

* Migrate `permission` from template project with:
* `class NoDefaultPermissionsMeta`
* `class PermissionNotImplementedError`
* `class AmbiguousGlobalPermissionWarning`
* `def identify_global_perms`
* `def reverse_if_probably_allowed`

Fixed

* CI now properly tests for all Django versions, whereas previously Poetry would install the latest Django version and overwrite the tox-managed dependencies

3.0.0

Breaking changes
* Dropped support for django 2.2
* Dropped support for python 3.7, 3.6
* Dropped support for django-db-constraints validation (`check_db_constraints()` constraint length & collisions); should use django native constraints instead
* `ProfileModelBackend` has been removed. You should use `ProfileModelBackendMixin` instead, and implement a case
insensitive username field on your User model.
* `GenericUserProfile` now no longer normalizes `email` (or even assumes an `email` field is present)
* You should implement email/username normalization in your User model
* `MultipleFieldCharFilter` removed; the `method` argument on a `filter.Field` is simple enough to make this now unnecessary.
* see [documentation](https://django-filter.readthedocs.io/en/stable/ref/filters.html#method)
* Added type information

Added

* Add support for django 4.2
* Add support for python 3.10, 3.11
* New `QueryCountMiddleware` methods `set_threshold` and `increase_threshold`
* `request.QUERY_COUNT_WARNING_THRESHOLD` is still supported but will be removed in future versions

Fixed

* Resolve bug in `CamelCaseMultiPartJSONParser.parse` where if the `HTTP_X_MULTIPART_JSON` header is not set it tries to parse the stream a second time, which returns no data

2.2.0

Fixed

* `CheckExplicitTableNames` will now skip unmanaged models to allow for cases where there is no table

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.