Re: Contextual autoescaping for Django templates

2011-06-23 Thread Mike Samuel
Ok. I'll hold off for now and maybe reopen this thread after there's a better sense of how custom processing passes plug in. On Jun 23, 4:51 pm, Alex Gaynor wrote: > No, there is at this.point no concrete proposal. > > Alex > On Jun 23, 2011 4:04 PM, "Mike Samuel" wrote: > > > Good to know. Is

Re: Contextual autoescaping for Django templates

2011-06-23 Thread Alex Gaynor
No, there is at this.point no concrete proposal. Alex On Jun 23, 2011 4:04 PM, "Mike Samuel" wrote: > > > On Jun 23, 11:36 am, Alex Gaynor wrote: >> FWIW it's likely that Armin and I will be proposing a new, higher level, >> template tag API in the coming weeks/months, as the current API is >> f

Re: Contextual autoescaping for Django templates

2011-06-23 Thread Mike Samuel
On Jun 23, 11:36 am, Alex Gaynor wrote: > FWIW it's likely that Armin and I will be proposing a new, higher level, > template tag API in the coming weeks/months, as the current API is > fundamentally incompatible with good template compilation. > > Alex Good to know. Is there a draft of that t

Re: Contextual autoescaping for Django templates

2011-06-23 Thread Alex Gaynor
On Thu, Jun 23, 2011 at 11:35 AM, Mike Samuel wrote: > > > On Jun 21, 3:55 pm, Luke Plant wrote: > > On 21/06/11 20:07, Mike Samuel wrote: > > > I'd like to add contextual autoescaping to django templates. > > > > > Briefly, it would automatically pick filters for each {{variable}} by > > > look

Re: Contextual autoescaping for Django templates

2011-06-23 Thread Mike Samuel
On Jun 21, 3:55 pm, Luke Plant wrote: > On 21/06/11 20:07, Mike Samuel wrote: > > I'd like to add contextual autoescaping to django templates. > > > Briefly, it would automatically pick filters for each {{variable}} by > > looking at the context in which it appears.  So inside a

Re: Contextual autoescaping for Django templates

2011-06-21 Thread Luke Plant
On 21/06/11 20:07, Mike Samuel wrote: > I'd like to add contextual autoescaping to django templates. > > Briefly, it would automatically pick filters for each {{variable}} by > looking at the context in which it appears. So inside a

Contextual autoescaping for Django templates

2011-06-21 Thread Mike Samuel
I'd like to add contextual autoescaping to django templates. Briefly, it would automatically pick filters for each {{variable}} by looking at the context in which it appears. So inside a