Django-modelcluster

Latest version: v6.3

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

Scan your dependencies

Page 1 of 6

6.3

~~~~~~~~~~~~~~~~
* Support filtering with Q objects (Shohan Dutta Roy)
* Support random ordering with `.order_by("?")` (Shohan Dutta Roy)
* Support `distinct()` on querysets (Shohan Dutta Roy)
* Support `iso_weekday` and `iso_year` field lookups (Andy Babic)
* Support datetime transform expressions on `values` and `values_list` (Andy Babic)
* Fix: Correctly handle filtering on fields on related models when those fields have names that match a lookup type (Andy Babic)
* Fix: Correctly handle null foreign keys when traversing related fields (Andy Babic)

6.2.1

~~~~~~~~~~~~~~~~~~
* Fix: Prevent failure on pre-3.1.0 versions of django-taggit without `_remove_prefetched_objects`

6.2

~~~~~~~~~~~~~~~~
* Added Django 5.0 support
* Removed Django 4.1 support
* Implement prefetching for ClusterTaggableManager (Andy Chosak)

6.1

~~~~~~~~~~~~~~~~
* Removed Django 2.2, 3.0, 3.1 & 4.0 support
* Added Django 4.2 support (Irtaza Akram)
* Fixed deprecation warning for removal of `django.utils.timezone.utc` (John-Scott Atlakson)
* Fix: Avoid unnecessary call to localtime for timestamps already in UTC (Stefan Hammer)
* Removed Python 3.7 support
* Add Python 3.11 and 3.12 support

6.0

~~~~~~~~~~~~~~~~
* BREAKING: ClusterForm now builds no child formsets when neither `formsets` nor `exclude_formsets` is specified in the Meta class, rather than building a formset for every child relation (Matt Westcott)
* Removed Python 3.5 and 3.6 support
* Removed Django 2.0 and 2.1 support
* Support explicit definitions for nested formsets within ClusterForm, via a `formsets` option on the outer formset's definition (Matt Westcott)
* Add `inherit_kwargs` attribute to ClusterForm child formsets (Matt Westcott)

5.3

~~~~~~~~~~~~~~~~
* Avoid accessing live queryset on unsaved instances, for preliminary Django 4.1 compatibility (Matt Westcott)
* Support traversing one-to-one and many-to-one relations in `filter` / `order_by` lookups (Andy Babic)
* Implement `values()` method on FakeQuerySet (Andy Babic)
* Allow `values()` and `values_list()` to be chained with other queryset modifiers (Andy Babic)
* Fix: Fix HTML escaping behaviour on `ClusterForm.as_p()` (Matt Westcott)
* Fix: Match standard behaviour queryset of returning foreign keys as IDs in `values_list` (Andy Babic)

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.