#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
--------------------------------------+------------------------------------
     Reporter:  Antonis Christofides  |                    Owner:  (none)
         Type:  Bug                   |                   Status:  new
    Component:  contrib.postgres      |                  Version:  4.2
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Simon Charette):

 * easy:  0 => 1
 * stage:  Unreviewed => Accepted

Comment:

 The reason for it is that
 `contrib.postgres.forms.HStoreField.prepare_value` doesn't pass
 `ensure_ascii=False` to `json.dumps`.

 When we fixed it for `JSONField` in #32080 we didn't do the same for
 `HStoreField` unfortunately.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35436#comment:1>
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/0107018f4f0e91ab-7da1511e-8216-4f34-a1c7-a8d1a8fbc130-000000%40eu-central-1.amazonses.com.

Reply via email to