Releases: vintasoftware/django-virtual-models
Releases · vintasoftware/django-virtual-models
v0.4.0
What's Changed
- Rename VirtualModel user field to avoid conflict by @hugobessa in #38
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
- Include py.typed file for type hints
- Add support to Python 3.12 and 3.13
- Drop support to Python 3.8 and 3.9
- Add support to Django 5.0, 5.1, and 5.2
- Drop support to Django 3.2, 4.0, and 4.1
Full Changelog: v0.2.0...v0.3.0
v0.2.0
- Add support to nested prefetch lookups like
v.VirtualModel(manager=User.objects, lookup="course__facilitators")
- Warning: this will remain undocumented for now, because the behavior is strange:
the prefetch is made insidecourse
in this case, due to Django behavior.
- Warning: this will remain undocumented for now, because the behavior is strange:
- Add parameter
serializer_context
to be used inv.Annotation
andget_prefetch_queryset
.