Hi there, I have not used this myself, but believe that "Q objects" don't support & operator as you use it. So it's really a Python error, not Django error.
FYI, you need Q objects only to provide "OR" functionality. For "AND" functionality, you only need: mu1 = MarketUpdate.objects.filter(stock_symbol=ticker, update_timestamp__gt=test_start_date).order_by('stock_value') HTH Jirka -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.