#30481: Document that force_str() allows lone surrogates.
--------------------------------------+------------------------------------
Reporter: Adam Hooper | Owner: nobody
Type: Cleanup/optimization | Status: closed
Component: Documentation | Version: 2.2
Severity: Normal | Resolution: wontfix
Keywords: force_text unicode | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Adam Hooper):
As the original reporter, I agree: calling it `force_str()` makes clear
what it does.
I still perceive Django to lack functionality. I originally filed this bug
report because I assumed the Django framework supported JSON-encoded
requests. This which led me to assume `force_text()` was a solution.
But Django docs don't mention JSON-encoded requests. So I think it's
consistent to close this bug and declare, "Django doesn't support JSON-
encoded requests, unless you invest serious effort."
--
Ticket URL: <https://code.djangoproject.com/ticket/30481#comment:10>
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/068.0749e1444dfe7a42694125f31d4e31a0%40djangoproject.com.