#9580: javascript_quote should accept SafeUnicode
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: keithb
Status: assigned | Milestone: 1.1
Component: Uncategorized | Version: 1.0-beta-1
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by keithb):
* stage: Accepted => Design decision needed
Comment:
`django.utils` is for tools internal to Django, and nothing at this layer
currently knows about safe strings.
How are you using this function? Note: If you're calling this from a
template, you can use `django.template.defaultfilters.escapejs`.
--
Ticket URL: <http://code.djangoproject.com/ticket/9580#comment:3>
Django <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
-~----------~----~----~----~------~----~------~--~---