Ahh ok, can I simply specify just the 'left outer join' part of the
query or do I need need to write it myself I.E. SELECT from TABLE
where XXX LEFT OUTER JOIN...

On Mar 5, 10:49 pm, Pigletto <[EMAIL PROTECTED]> wrote:
> > Basically, the queryset in views.py will ONLY return results if that
> > particular Blog has a Tag related to it. If I haven't specified a tag
> > for a particular blog, it will NEVER appear in my results.
>
> > Any ideas? Is my query only getting results with both a TITLE and
> > TAG_TITLE?
>
> You need 'left outer join' here. SQL query build with django ORM
> doesn't use that in this kind of query.
> I think you may try to use .extra(....) to do it.
>
> --
> Maciej Wisniowski
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to