Is there a wildcard in Django for use in Objects.filter?
For example, is there a character equivalent to this:
Prices.objects.filter(a = example1
,b = example2
)
i.e. instead of commenting on c, can I put c = WILDCARD or c = * ... you get jist. Thanks.
EDIT: Just as if you have a large list of attributes that can be found, and you only want to select a few favorites, you definitely will not have many functions that perform these specific searches. I need some kind of character that Django says, and then SQL "this field does not matter, I want everything here" ... not including the field (as in the example) just creates shedload functions.
source
share