Opened 8 years ago

Last modified 8 years ago

#27336 closed Cleanup/optimization

Whitespace control django configuration Jinja2 — at Version 1

Reported by: Ramin Farajpour Cami Owned by: nobody
Component: Template system Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramin Farajpour Cami)

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

Change History (1)

comment:1 by Ramin Farajpour Cami, 8 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top