#17419: Add a JSON template filter
-------------------------------------+-------------------------------------
Reporter: Lau Bech Lauritzen | Owner: Aymeric
| Augustin
Type: New feature | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: json template tag | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Gavin Wahl):
Why are you trying to magically support both already-encoded and to-be-
encoded arguments? This leads to bugs. `js_json('"asdf"')` -- is that an
json-encoded `asdf`, or a string whose value really has quotes in it?
--
Ticket URL: <https://code.djangoproject.com/ticket/17419#comment:36>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.6a8d204d4cc522445925a52159250874%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.