#27813: BinaryField type inconsistent between sqlite3 (bytes) and postgresql
(memoryview)
-------------------------------------+-------------------------------------
     Reporter:  Antonio Terceiro     |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  1.10
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Stavros Korokithakis):

 I am hit by this as well. Returning `HttpResponse(mymodel.mybinaryfield)`
 returns a literal `<memory object at 0xdeadbeef>` string instead of the
 data on Postgres.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27813#comment:6>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.d5004b7b77433204dc0032b213a14320%40djangoproject.com.

Reply via email to