kiddouk / redisco

A Python Library for Simple Models and Containers Persisted in Redis
MIT License
439 stars 78 forks source link

Filter and ZFilter #30

Open denisvolokh opened 11 years ago

denisvolokh commented 11 years ago

Hi,

Is it possible to combine filter and zfilter, for example:

Person.objects.filter(zipcode="123").zfilter(created_at__in=(datetime(2010, 4, 20, 5, 2, 0), datetime(2010, 5, 1)))

Or maybe there is another way to do it?