On 10/22/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> What you need to do is make sure the driver typecasts datetime
> database fields to Python datetime.date objects, and date database
> fields to Python datetime.date objects. Some database drivers do this
> automatically, but others provide hooks that let programmers use
> custom typecasts. Each database driver is different. :-/
>
> Let me know if this makes sense...

The existing MySql backend has a good example of this; look at the
DATA_TYPES dict.

Reply via email to