#10398: It may cause error in django.db.backends.last_executed_query.
---------------------------------------------------+------------------------
Reporter: bear330 | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: 1.0
Resolution: | Keywords: unicode
pickle db backends
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by sunrise):
Hold on, you seem to be changing what the bug is about. Are you saying
that it's the database interaction that is failing, or is only the
recording of the query failing?
If it's the database interaction, then that's because Django doesn't
support raw binary types for data at the moment. It's up to you to encode
the data appropriately before passing it through in a text field (in which
case, this ticket is an "invalid" for now). Passing arbitrary binary data
simply isn't supported and there's nothing to suggest that it does, so
it's unsurprising you get errors.
[http://www.tagnice.com nike air yeezy]
If the database saving is working and only the storing of information
in the debug log is causing a problem, then that's something we should
fix.
So please clarify what the real problem is here.
--
Ticket URL: <http://code.djangoproject.com/ticket/10398#comment:5>
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
-~----------~----~----~----~------~----~------~--~---