1👍
✅
Starting from User
def get_shift_users(self):
return User.objects.filter(assign_set__shift=self)
👤levi
Source:stackexchange.com