Re: Proposal for a new template tag to disable invoking callable variables

2019-03-01 Thread Adam Johnson
I've had a review of the current and historical tickets, and I think that do_not_call_in_templates is sufficient. A template tag to control such a low level feature of the templating system seems a bit niche. If you are worried about adding attributes with objects from third party libraries, you ca

Re: Proposal for a new template tag to disable invoking callable variables

2019-02-23 Thread Alex Epshteyn
The reason for this suggestion is over the years, while writing templates, I've had to spend a lot of time trying to figure out why I was getting an unexpected value (often an empty string) substituted for a template variable when that variable clearly had a different value. The reason that h

Proposal for a new template tag to disable invoking callable variables

2019-02-23 Thread Alex Epshteyn
I recently posted #30205 , which proposes a new template tag to solve a template problem that has been bothering me (see #30197 ). Requesting feedback from the community regarding both of these tickets. If