almelemar / django-sqlalchemy

Automatically exported from code.google.com/p/django-sqlalchemy
0 stars 0 forks source link

Queries across related items don't work #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The following fails:

{{{
p = Post.objects.filter(category__name__icontains='r')
}}}

This is because the filter logic in query_utils doesn't move the join point.

Original issue reported on code.google.com by mtr...@gmail.com on 10 Apr 2008 at 1:27

GoogleCodeExporter commented 8 years ago
fixed in http://gitorious.org/projects/django-
sqlalchemy/repos/mainline/commits/b239db0e5691417408e272581353728e5127ea8f

Original comment by mtr...@gmail.com on 10 Apr 2008 at 4:03