Thanks for the link, I read through that and it makes sense.
So if both conditions are in the same filter, they are both applied
simultaneously. Since I wanted two separate conditions, I needed two
separate filter() statements.
In other words, my method, is "Find a node who's parent is both A and
B".
What I wanted, and what you recommended, is "Find a node who's parents
include A and include B".
Very interesting. I get it now, and yes it is documented. For some
reason I have a really hard time navigating the docs, even though I've
read the page you mentioned about a dozen times. I think a lot of it
has to do with the horrible heading / lack of indents in the docs.
But I digress. Thanks tom so much, this answers my question!
-James
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment