Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

[PyUP] Update django-modelcluster to 5.3 #576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates django-modelcluster from 3.1 to 5.3.

Changelog

5.2

~~~~~~~~~~~~~~~~
* Implement `copy_cluster` method on ClusterableModel (Karl Hobley)
* Add `formset_name` option on ClusterableModel formsets to allow the formset name to differ from the relation name (Matt Westcott)
* Fix: Fix tests for Django 3.2 (Alex Tomkins, Matt Westcott, María Fernanda Magallanes)
* Fix: Ensure ptr_id fields are correctly populated when deserialising models with multi-level inheritance (Alex Tomkins)

5.1

~~~~~~~~~~~~~~~~
* Allow child form class to be overridden in the `formsets` Meta property of ClusterForm (Helder Correia)
* Add prefetch_related support to ParentalManyToManyField (Andy Chosak)
* Implement `copy_child_relation` and `copy_all_child_relations` methods on ClusterableModel (Karl Hobley)
* Fix: Fix behavior of ParentalKeys and prefetch_related() supplied with a lookup queryset (Juha Yrjölä)

5.0.2

~~~~~~~~~~~~~~~~~~
* Fix: Fix compatibility with django-taggit 1.3.0 (Martin Sandström)

5.0.1

~~~~~~~~~~~~~~~~~~
* Fix: ClusterForm without an explicit `formsets` kwarg now allows formsets to be omitted from form submissions, to fix regression with nested relations
* Fix: ParentalManyToManyField data is now loaded correctly by `manage.py loaddata` (Andy Babic)

5.0

~~~~~~~~~~~~~~~~
* Removed Python 2 and 3.4 support
* Removed Django 1.10 and 1.11 support
* Added django-taggit 1.x compatibility (Gassan Gousseinov, Matt Westcott)

4.4.1

~~~~~~~~~~~~~~~~~~
* Fix: ClusterForm without an explicit `formsets` kwarg now allows formsets to be omitted from form submissions, to fix regression with nested relations

4.4

~~~~~~~~~~~~~~~~
* Django 2.2 compatibility
* Support nested child relationships in ClusterForm (Sam Costigan)

4.3

~~~~~~~~~~~~~~~~
* Added support for filter lookup expressions such as `__lt`

4.2

~~~~~~~~~~~~~~~~
* Django 2.1 compatibility
* Python 3.7 compatibility
* Implemented prefetch_related on FakeQuerySet (Haydn Greatnews)
* Fix: Saving a ClusterableModel with a primary key of 0 no longer throws an IntegrityError (A Lee)
* Fix: Serialization now respects `serialize=False` on ParentalManyToManyFields (Tadas Dailyda)

4.1

~~~~~~~~~~~~~~~~
* `on_delete` on ParentalKey now defaults to CASCADE if not specified

4.0

~~~~~~~~~~~~~~~~
* Django 2.0 compatibility
* Removed Django 1.8 and 1.9 support
* Child formsets now validate uniqueness constraints
* Fix: Many-to-many relations inside inline formsets are now saved correctly
Links

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant