Hi,

I'm using Django 1.0 and 1.1, pysqlite2 (latest version), sqlite3
(latest version) and FTS3 (latest
version).
I'm creating some Django models where I recreate the database tables
as virtual tables using
FTS3 so that we can do full text search.
Some of the fields in the tables are datetime fields.
We preload the database tables by reading datafiles, building the
appropriate Django models
and saving them using the the models.save() method.
The datetime fields go into the database as datetime objects but
they come back out  (called with objects.get(pk=<id>)) as unicode
strings.
Integer and string data go in and come out fine.
I don't see the database adapter/converter invoked. ( I put a print
statement into the code)

If I don't recreate the tables as virtual tables using FTS3,
everything works fine.
I see the database adapter/converter invoked.

Does anyone know what might be going wrong here?

Thanks in advance,
Carol Hatcher
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to