Re: Revisiting multiline tags

2014-04-11 Thread Curtis Maloney
Would it help if I said please? On 4 April 2014 11:29, Curtis Maloney wrote: > Have any of you tested my code which gives you multi-line tags? > > I'd be interested in hearing how it fares "in the real world" > > -- > C > > > > On 4 April 2014 01:52, dude wrote: > >> More useful example is not

Re: Should there be a "is" comperator: {% if A is B %}?

2014-04-11 Thread Gregor Müllegger
Casting to strings would make this example work. But will break in other cases: dict((key, str(val)) for key, val in {'value': None}.items()) => I don't want to say that this problem is impossible to solve without a "is" check in the templates, I only want to point out that this basic comparis

Re: #22383 Add the HTML5 required tag to the input fields which are required for database entry

2014-04-11 Thread anubhav joshi
On Friday, April 11, 2014 4:57:33 AM UTC+5:30, Gregor Müllegger wrote: > > I think adding the `required` attribute but ignoring the other possible > html form validations (like `min` and `max` [1] for that are used > by the forms.IntegerField) seems a bit half-hearted. > > My opinion is that h