Re: TypeError on updating DB with new date

2014-08-02 Thread Michael Bayer
On Aug 2, 2014, at 5:00 PM, Michael wrote: > TypeError: can't compare offset-naive and offset-aware datetimes > > > I'm comparing the date of the rss feed items published date with the > latestpost of the rss feed. I ensure that the dates generated have pytz.UTC() > added. Note the actual is

TypeError on updating DB with new date

2014-08-02 Thread Michael
hi all, I'm getting a "TypeError: can't compare offset-naive and offset-aware datetimes" when attempting to update a database table value(in a celery task), even though I'm pretty sure both dates in question are offset-aware. here is the stack trace of the issue: [2014-08-02 12:10:52,264: ERRO