Skip to content

Releases: wagtail/django-modelcluster

4.4.1

06 Jan 18:41
Compare
Choose a tag to compare
  • Fix: ClusterForm without an explicit formsets kwarg now allows formsets to be omitted from form submissions, to fix regression with nested relations

5.0

06 Aug 18:47
Compare
Choose a tag to compare
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

02 Apr 20:17
Compare
Choose a tag to compare
4.4
  • Django 2.2 compatibility
  • Support nested child relationships in ClusterForm (Sam Costigan)

Version 4.3

22 Nov 11:55
Compare
Choose a tag to compare
  • Added support for filter lookup expressions such as __lt

4.2

08 Aug 15:06
Compare
Choose a tag to compare
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)

3.1

27 Feb 10:35
Compare
Choose a tag to compare
3.1
  • Django 1.11 compatibility
  • Python 3.6 compatibility
  • Added the ability to install the optional dependency django-taggit
    using pip install django-modelcluster[taggit]
  • Fix: ClusterForm.save(commit=True) now correctly writes ParentalManyToManyField relations back to the database rather than requiring a separate model.save() step
  • Fix: ClusterForm.is_multipart() now returns True when a child form requires multipart submission
  • Fix: ClusterForm.media now includes media defined on child forms
  • Fix: ParentalManyToManyField.value_from_object now returns correct result on unsaved objects

4.1

12 Feb 17:48
Compare
Choose a tag to compare
4.1
  • on_delete on ParentalKey now defaults to CASCADE if not specified

4.0

13 Dec 15:38
Compare
Choose a tag to compare
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

3.0.1

02 Feb 14:43
Compare
Choose a tag to compare
  • Fix: Added _result_cache property on FakeQuerySet (necessary for model forms with ParentalManyToManyFields to work correctly on Django 1.8-1.9)

3.0

02 Feb 10:27
Compare
Choose a tag to compare
3.0
  • Added support for many-to-many relations (Thejaswi Puthraya, Matt Westcott)
  • Added compatibility with django-taggit 0.20 and dropped support for earlier versions
  • Deprecated the Model._meta.child_relations property (get_all_child_relations should be used instead)
  • Implemented the set() method on related managers (introduced in Django 1.9)