Undocumented queryset OR should be documented, probably
|Reported by:||EvilDMP||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
https://docs.djangoproject.com/en/dev/ref/models/queries/#q-objects says (in effect): "you can't use OR in querysets without Q() objects" - but you can!
qs = items.filter(meal="supper") | items.filter(meal="lunch")
I can't see this construction mentioned in the documentation. It appears to work perfectly well. Is there anything wrong with it? Is there any good reason not to use it?