You cannot query against model methods or properties. Either use the criteria within it in the query, or filter in Python using a list comprehension or genex.
You cannot query against model methods or properties. Either use the criteria within it in the query, or filter in Python using a list comprehension or genex.