#27336: Whitespace control django configuration Jinja2
-------------------------------------+-------------------------------------
Reporter: Ramin Farajpour | Owner: nobody
Cami |
Type: | Status: closed
Cleanup/optimization |
Component: Template system | Version: 1.10
Severity: Normal | Resolution:
| worksforme
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 Aymeric Augustin):
* status: new => closed
* resolution: => worksforme
Comment:
You can pass arbitrary options such as `trim_blocks` to
`jinja2.Environment` by putting them in `OPTIONS`:
https://docs.djangoproject.com/en/1.10/topics/templates/#django.template.backends.jinja2.Jinja2
--
Ticket URL: <https://code.djangoproject.com/ticket/27336#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 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/065.0efa014df204cde72ba57e4fbb4e06c1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.