github jazzband/django-polymorphic v4.6.0

latest releases: v4.9.0, v4.8.0, v4.7.0...
6 days ago

ORM Bug Fix Release

This release fixes a number of long standing bugs with respect to query behavior and inheritance. Most notably:

  1. The queryset iterator and get_real_instance will attempt to fetch the correct type even if the polymorphic content type id is wrong. This can happen in legitimate work flows in signal handling during deletes as the child tables are deleted in order.
  2. The parent/child table forward/reverse onetoone fields are now implemented as descriptors subclassed from the base django descriptors. This fixes a number of bugs wrt to custom primary keys and primary keys of different values within one model's set of parent/child tables.

What's Changed

New Contributors

Full Changelog: v4.5.1...v4.6.0

Don't miss a new django-polymorphic release

NewReleases is sending notifications on new releases.