On Tue, Nov 17, 2009 at 9:03 AM, Ilya Polosuhin <[email protected]>wrote:

> I don't fully understood your question. Of course I have more than one row
> at test_mymodel2
> SQL query was formed by django-ORM. I just call
> print (MyModel.objects.filter(key_to_mymodel2 =
> MyModel2.objects.all()))._as_sql())
> and write here output.
>

Ah, sorry - I was confused... I thought you wrote the SQL yourself.  That
does seem to be a problem with the ORM.

Nick

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
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=.


Reply via email to