Releases: wagtail/django-modelcluster
Releases · wagtail/django-modelcluster
4.4.1
5.0
4.4
Version 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)
3.1
- Django 1.11 compatibility
- Python 3.6 compatibility
- Added the ability to install the optional dependency
django-taggit
usingpip 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
4.0
3.0.1
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)