On Monday, September 14, 2015 at 1:17:37 AM UTC+2, jasbligh wrote:
>
> I'd propose solving as follows
> 1) use the autofocus attribute when creating the form. This will work for
> IE10+ http://caniuse.com/#feat=autofocus It can also be done by including
> a creating a few targeted one line js
On 14 September 2015 at 11:52, Florian Apolloner
wrote:
>
>
> On Monday, September 14, 2015 at 1:17:37 AM UTC+2, jasbligh wrote:
>>
>> I'd propose solving as follows
>> 1) use the autofocus attribute when creating the form. This will work for
>> IE10+ http://caniuse.com/#feat=autofocus It can als
On Monday, September 14, 2015 at 1:54:06 PM UTC+2, jasbligh wrote:
>
> Perfect, would you know where would be best to place the js in that case?
> (I've got the attribute working with the forms framework though)
>
Dunno, any existing file which has a few functions should do ;) If the form
attr
On Monday, 7 September 2015 15:05:35 UTC+1, Aymeric Augustin wrote:
> 2015-09-07 10:00 GMT+02:00 Yann Fouillat >
> :
>
>> First I will say that most of this pull request is a port of
>> https://github.com/django/django/pull/1037 which I ported more or less
>> blindly.
>>
>
> As far as I can tell
> On 14 Sep 2015, at 11:52, Florian Apolloner wrote:
>
> Makes sense, depending on the actual parameters data attributes could make
> sense too for a few things. Oh, btw please do not handwrite JSON in
> templates, either do it in the view or use a filter to actually create JSON
> which then