Thanks Andrew,
I will practice more on doing Many-to-one relationships.
https://docs.djangoproject.com/en/1.5/topics/db/examples/many_to_one/
On Monday, July 22, 2013 1:45:49 PM UTC+2, Andrew Simpson wrote:
>
> Perhaps something like this would give you what you need:
> Pronunciation.objects.fi
*1.*
I wrote this to make python shell only list Words that have no translation.
>>> Word.objects.filter(translation='')
[, , ]
*2.*
How can I use the above filter result and chain it,
so that I can make a new list that displays the field *"articulate"*,
from the other table "Pronunciation"?
Perhaps something like this would give you what you need:
Pronunciation.objects.filter(word__translation='')
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to djan
3 matches
Mail list logo