Open GoogleCodeExporter opened 9 years ago
I was caught by this, and wondered what I was doing wrong. And I think there's
a
related issue. The method (see here)
if not tag_count:
return model._default_manager.none()
returns an empty query set if the tags argument is empty. I think of each tag
as a
filter, and if there are no filters I expect to get the original query set back.
Consider factorial. 3! = 1*2*3 = 6. So what is 0!. It is 1.
Original comment by Jonathan.Fine1@googlemail.com
on 25 May 2009 at 4:11
I just thought of something else. Suppose I call get_intersection_by_model and
get
some objects. Now I add something to the database, and call
get_intersection_by_model. I'd expect to get all the items I previously had,
and
possibly another.
This property can be called monotonicity.
Original comment by Jonathan.Fine1@googlemail.com
on 25 May 2009 at 4:15
Original issue reported on code.google.com by
Carme...@gmail.com
on 30 Mar 2009 at 10:52