#7801: DateField/TimeField returning datetime objects (not date/time objects)
------------------------------------------------------+---------------------
Reporter: Andrew Magee <[EMAIL PROTECTED]> | Owner: nobody
Status: closed | Milestone: 1.0
Component: Database wrapper | Version: SVN
Resolution: invalid | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 1 |
------------------------------------------------------+---------------------
Changes (by ElliottM):
* status: new => closed
* resolution: => invalid
Comment:
All the type conversion things like this are handled by the database
backend*. Since you're using an external backend, it would probably be
better to fix it there rather than within django (http://code.google.com/p
/django-mssql/ is the page for that project if you want to reporti there)
* In django.db.backends.sqlite3.base.py and
django.db.backends.mysql.base.py you can see django specifying to the
sqlite3 module and the mysqldb module respectively which types to convert
and how.
--
Ticket URL: <http://code.djangoproject.com/ticket/7801#comment:4>
Django Code <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
-~----------~----~----~----~------~----~------~--~---