#27336: Whitespace control django configuration Jinja2
-------------------------------------+-------------------------------------
Reporter: Ramin Farajpour | Owner: nobody
Cami |
Type: | Status: new
Cleanup/optimization |
Component: Template system | Version: 1.10
Severity: Normal | Resolution:
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 Ramin Farajpour Cami):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> Hi,
>
> i see on django admin panle anything Whitespace control Jinja2 ,so i
> think django can not support defulat whitespace control, this means
> `trim_blocks` and `lstrip_blocks enabled` is disbale,
>
> Jinja2 WhiteSpace Control is what you need :
> http://jinja.pocoo.org/docs/templates/#whitespace-control
New description:
Hi,
i see on django admin panle,there isn't Whitespace control on jinja2
template ,so i think django can not support defulat whitespace control,
this means `trim_blocks` and `lstrip_blocks enabled` is disbale,
Jinja2 WhiteSpace Control is what you need :
http://jinja.pocoo.org/docs/templates/#whitespace-control
--
--
Ticket URL: <https://code.djangoproject.com/ticket/27336#comment:1>
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.f42ffb67bc1b9889355da009cf22cdf8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.