Changes between Initial Version and Version 1 of Ticket #32414, comment 2
- Timestamp:
- Feb 3, 2021, 11:05:58 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32414, comment 2
initial v1 1 Looks like you either want `attendees=F('profile')` or `profile__in=CalendarEvent.attendees.through.objects.filter(calendarevent=OuterRef('pk')) `.1 Looks like you either want `attendees=F('profile')` or `profile__in=CalendarEvent.attendees.through.objects.filter(calendarevent=OuterRef('pk')).values('profile')`. 2 2 3 3 I guess we could raise a Python level error or adjust `RelatedIn.get_prep_lookup` special case `F` referring to many-to-many as well.