sjuxax/raggregate — Issue #3: DateTime objects do not return tz on db backends that don't support datetime w/ tz types
Author: sjuxax
Created: 2011-11-06 01:13:10+00:00
State: open

This bug breaks some things because everything else throughout the application has a tzinfo UTC and Python refuses to compare naive and informed DateTimes. We should write a listener or some other thing that will ensure DateTimes without attached tzs get the datetime.datetime().replace(tzinfo=pytz.utc) treatment if necessary before they are compared.