0👍
I think you have OneToOneField between this two model, if it’s true, you can’t have something like that because it’s not logical
imagine that, if a user has a Demographic, and you retrieve allUsers, then for each one, we have one Demographic and it’s not logical to filter one Demographic. the only way to do this is to filter it with the UserNode(as you said and did)
the Nested filtering just work if you have a ForeignKey or ManyToManyField to user model and then you can retrieve that in user with the separate filter
I hope I’ve been able to make it clear to you
Source:stackexchange.com