Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-10 Thread Django
#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
-+-
 Reporter:  Antonis  |Owner:  Jae Hyuck
  Christofides   |  Sa
 Type:  Bug  |   Status:  closed
Component:  contrib.postgres |  Version:  4.2
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

 * resolution:   => fixed
 * status:  assigned => closed

Comment:

 In [changeset:"f92ac845a9c75992120a5b5b219e607c19d3f0aa" f92ac845]:
 {{{#!CommitTicketReference repository=""
 revision="f92ac845a9c75992120a5b5b219e607c19d3f0aa"
 Fixed #35436 -- Fixed displaying Unicode chars in forms.HStoreField.
 }}}
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f6173d6fe-68f46932-00c3-4d39-a6b7-993633c1b8bf-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-08 Thread Django
#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
-+-
 Reporter:  Antonis  |Owner:  Jae Hyuck
  Christofides   |  Sa
 Type:  Bug  |   Status:  assigned
Component:  contrib.postgres |  Version:  4.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Sarah Boyce):

 * stage:  Accepted => Ready for checkin

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f58b0aa49-c6d6dff0-8ab7-4069-b8cc-1bc3f75be2cb-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-08 Thread Django
#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
-+-
 Reporter:  Antonis  |Owner:  Jae Hyuck
  Christofides   |  Sa
 Type:  Bug  |   Status:  assigned
Component:  contrib.postgres |  Version:  4.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Comment (by Jae Hyuck Sa ):

 Replying to [comment:5 Simon Charette]:
 > The patch LGTM and is aligned on how we tested `JSONField` in
 de81676b51e4dad510ef387c3ae625f9091fe57f. Thank you for taking the time to
 submit a patch Jae Hyuck.
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f589813bd-82b865c4-2c4c-408d-85a9-2361959e2d03-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-08 Thread Django
#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
-+-
 Reporter:  Antonis  |Owner:  Jae Hyuck
  Christofides   |  Sa
 Type:  Bug  |   Status:  assigned
Component:  contrib.postgres |  Version:  4.2
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Comment (by Jae Hyuck Sa ):

 Thank you :) I'm still lacking a lot, but I'll learn and contribute a lot
 to Django.
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f5897e07d-6dc9fd43-2113-4dce-9780-bd69e4f67041-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

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

 The patch LGTM and is aligned on how we tested `JSONField` in
 de81676b51e4dad510ef387c3ae625f9091fe57f. Thank you for taking the time to
 submit a patch Jae Hyuck.
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f58938f3e-74b3585f-cab8-41ae-8dd6-0aaad3862231-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

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

 * has_patch:  0 => 1

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f5859070f-2db41bb3-dec1-4227-88c2-d98e4c988e9e-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-08 Thread Django
#35436: HStoreField shows nonASCII characters as unicode-escaped in the admin
-+-
 Reporter:  Antonis  |Owner:  Jae Hyuck
  Christofides   |  Sa
 Type:  Bug  |   Status:  assigned
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 Jae Hyuck Sa ):

 * owner:  (none) => Jae Hyuck Sa
 * status:  new => assigned

-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f584c47f4-92f7ccd6-86f5-47f9-82ee-b0e4021d75d8-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-08 Thread Django
#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
--+
Comment (by Jae Hyuck Sa ):

 I'll fix the bug and post the PR :)
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f584babf8-9f9c4a29-c75a-4f2e-bad8-e3d0ae4e30c9-00%40eu-central-1.amazonses.com.


Re: [Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-06 Thread Django
#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: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f4f0e91ab-7da1511e-8216-4f34-a1c7-a8d1a8fbc130-00%40eu-central-1.amazonses.com.


[Django] #35436: HStoreField shows nonASCII characters as unicode-escaped in the admin

2024-05-06 Thread Django
#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|   Keywords:
   Triage Stage:  Unreviewed|  Has patch:  0
Needs documentation:  0 |Needs tests:  0
Patch needs improvement:  0 |  Easy pickings:  0
  UI/UX:  0 |
+
 I have an {{{HStoreField()}}} that has the following contents:


 {{{
 aira=# select title from aira_maplayer where id=22;
 title
 --
  "el"=>"Αρδευτικό δίκτυο", "en"=>"Irrigation network"
 (1 row)
 }}}

 In the Django admin, it shows like this:

 {{{
 {"el": "\u0391\u03c1\u03b4\u03b5\u03c5\u03c4\u03b9\u03ba\u03cc
 \u03b4\u03af\u03ba\u03c4\u03c5\u03bf", "en": "Irrigation network"}
 }}}
-- 
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f4efe74e1-db00b472-a553-47e6-be71-f9972845e3b1-00%40eu-central-1.amazonses.com.