>
> As the docs show, when you've defined a GenericRelation, querying is
> exactly the same as with a reverse foreign key. So:
> Bookmark.objects.get(tags__tag='django')
>


I don't quite understand your use of tags__tag='django' in retrieving
the objects. I've never seen this usage before.

I checked out the doc (http://docs.djangoproject.com/en/dev/topics/db/
queries/) and can't find reference to it. Can you explain its usage a
bit more or point me to the relevant section of the doc?

Thanks.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to