|
Re: "join" query in Django?: msg#02303DjangoUsers
On Fri, Jul 31, 2009 at 1:42 AM, Asinox<asinox@xxxxxxxxx> wrote: > i try > with .filter("field1__field2") where the field1 is the PK and the > field2 is the FK. that dowsn't sound right. i think you've misread the ORM chapters of the documentation. don't try to think in terms of the SQL you want. much better is to think in terms of the data you want from the DB. -- Javier --~--~---------~--~----~------------~-------~--~----~ 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@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to django-users+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |