#2417: Support for binary type fields (aka: bytea in postgres and VARBINARY in
mysql)
------------------------------------------+---------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: assigned | Milestone:
Component: Database wrapper | Version:
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
------------------------------------------+---------------------------------
Comment (by [EMAIL PROTECTED]):
Hello,
I have looked at the various patches and tried to produce my own, improved
version. I've improved it by by adding modeltests, made sure it works fine
with MySQL, PostgresSQL and SQLite.
The main idea here is to get similar results, similar data types for all
supported databases - that is why I used 'buffer' type to
be always returned from backend.
I have re-read all related discussions in google groups, and looked at
tickets 2422, 5135.
A few small problems described in django-developers and other bugs has
been solved too, like using 'repr' instead of 'unicode'to show SQL debug
in Debug mode.
I am ready to support this patch for some time until it gets stable and
good enough to have a chance being included to trunk.
Comments are welcome. I don't think that this work is 100% final, but it
have good chances to became good enough if you comment & help me to
improve.
We are using this patch in a production version of one site, and we will
improve it along the way.
--
Ticket URL: <http://code.djangoproject.com/ticket/2417#comment:41>
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
-~----------~----~----~----~------~----~------~--~---