Re: More standard template filters

2019-04-05 Thread Curtis Maloney
On 4/5/19 3:06 AM, Collin Anderson wrote: Hi All, I use django templates a lot and I always wished there was a myvar|startswith:"teststring", myvar|endswith:"teststring" and a myvar|contains:"teststring" filter. It's almost like we need a syntax for calling methods with an argument, just

Re: Should we backport adding support for psycopg2 2.8 to the 1.11.x and 2.1.x?

2019-04-05 Thread Carlton Gibson
OK, so for me, this should go into v2.2, but not v2.1 or v1.11. (I see you already backported to 2.2 so... ) My general take here is that we could be half-a-notch more generous backporting to the current version (e.g. 2.2 now) but should be just as strict as we are once a version is out of

Re: More standard template filters

2019-04-05 Thread Adam Johnson
FYI Jinja2 allows (most) python expressions, so this would Just Work(TM): {{ myvar.startswith("x") }} Django Template Language has a lot of legacy that prevents this from happening, afaiu it would not be possible to move to it. It's not hard to move your templates (asides from those extending

Re: Should we backport adding support for psycopg2 2.8 to the 1.11.x and 2.1.x?

2019-04-05 Thread Mariusz Felisiak
Agreed. I will document that 1.11 and 2.1 require psycopg2 *2.5.4* through *2.7.7* versions. We can re-open this discussion in the future if e.g. psycopg2 2.8.x will contain some important security patch. -- You received this message because you are subscribed to the Google Groups "Django

Re: GSoC Proposal (FormSet Improvement)

2019-04-05 Thread PARTH PATIL
I have updated my proposal please have a look On Wednesday, April 3, 2019 at 9:22:57 PM UTC+5:30, Carlton Gibson wrote: > > Yes, just pseudo code — so when reviewing your proposal next week it's > easy to see that it'll be the right approach.  > > On Wednesday, 3 April 2019 17:51:18 UTC+2,

Re: More standard template filters

2019-04-05 Thread Curtis Maloney
On 4/5/19 8:16 PM, Adam Johnson wrote: FYI Jinja2 allows (most) python expressions, so this would Just Work(TM): {{  myvar.startswith("x") }} Django Template Language has a lot of legacy that prevents this from happening, afaiu it would not be possible to move to it. For "legacy" read