1👍
✅
Try:
helmets = self.helmet_set.filter(possessors=user)
Here you will find the relevant documentation for M2M relationships
Source:stackexchange.com
1👍
Try:
helmets = self.helmet_set.filter(possessors=user)
Here you will find the relevant documentation for M2M relationships