#14569: Date field expression raw query returns unicode instead of datetime
object
in sqlite
---------------------------------------------------+------------------------
Reporter: robin | Owner: nobody
Status: closed | Milestone:
Component: Database layer (models, ORM) | Version: 1.2
Resolution: wontfix | Keywords: raw query
date sqlite postgresql
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by ramiro):
* status: new => closed
* resolution: => wontfix
* summary: Raw query for date field returns unicode instead of datetime
object in sqlite => Date field expression raw
query returns unicode instead of datetime
object in sqlite
Comment:
So, unfortunately we can't fix this in Django because that means it would
need to interpret all raw SQL queries and deduce the correct data type of
the query result. Closing as ''wontfix''
--
Ticket URL: <http://code.djangoproject.com/ticket/14569#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.