#35296: The autoescape parameter to Engine() seems to have no effect on Context.
---------------------------------+--------------------------------------
Reporter: Roman Donchenko | Owner: nobody
Type: Uncategorized | Status: closed
Component: Template system | Version: 5.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):
* resolution: => invalid
* status: new => closed
* summary: The autoescape parameter to Engine() seems to have no effect =>
The autoescape parameter to Engine() seems to have no effect on
Context.
Comment:
`Context` has it's own `autoescape` parameter that engine shouldn't
override. You can pass `Context` with `autoespace=False` or use
`render_to_string()` with a template name.
--
Ticket URL: <https://code.djangoproject.com/ticket/35296#comment:3>
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/0107018e3611ecb3-acd3d1e2-8b56-4571-84ff-0aad9e696192-000000%40eu-central-1.amazonses.com.