Description

Problem descriptions

Currently ​GenericRelations documentation does not say anything that it's possible.
I mean expression like

Animal.objects.filter(tags__tag__exact='heavy')

is not described there. But if we look in generic.py we can find there pretty much code that makes it possible. But apparently it's not ready yet. So I am creating here this ticket for discussion as I was told django developers list if not the right place to do it (my post is ​here).

So, at the moment I found the following issues.

Wrong field name when using intermediate tables,

for example, name__exact='bla-bla' worked,
but user__account__is_enabled=True did not work.

I'm having a bit of trouble understanding all this and a lot of it refers to pre-queryset-refactor code. I'm fairly sure the main issue was fixed in r8608. If not and somebody feels it should be reopened, we'll need a patch against the Django tests directory showing something that fails that should work. That will make debugging whatever the remaining problem is easier. But, again, it's been fixed in the normal course of business.