It comes from following settings ... its time out for login session ... auth.settings.long_expiration = 3600*24*30 # one month auth.settings.remember_me_form = True
See here: http://web2py.com/books/default/chapter/29/09?search=remember+me Dne čtvrtek, 20. září 2012 9:44:48 UTC+2 Alec Taylor napsal(a): > > That's in gluon\tools.py > > On Thu, Sep 20, 2012 at 5:44 PM, Kevin Bethke > <[email protected]<javascript:>> > wrote: > > I'm using the standard auth_user. there is a checkbox remember me for 30 > > days. I can't find anything like that in the db. > > > > > > On Thu, Sep 20, 2012 at 9:09 AM, Johann Spies > > <[email protected]<javascript:>> > > > wrote: > >> > >> On 19 September 2012 19:54, BlueShadow <[email protected]<javascript:>> > wrote: > >>> > >>> Hi, > >>> I like to change the layout of a couple forms for example for the > login > >>> form. > >>> in my default/user.html the form is just called by > >>> {{=form}} > >>> I found this on the webtopy site: > >>> > >>> {{=form.custom.begin}} > >>> Image name: <div>{{=form.custom.widget.name}}</div> > >>> Image file: <div>{{=form.custom.widget.file}}</div> > >>> Click here to upload: {{=form.custom.submit}} > >>> {{=form.custom.end}} > >>> but I got no idea how to view the checkbox etc. > >>> Is there a more comprehensible example > >> > >> > >> The 'checkbox etc' will be part of the Field definition of the form as > in > >> this example 'name' and 'file'. > >> So if you have a field using a checkbox widget (say 'your_preference') > >> you will see the checkbox when you put > >> {{=form.custom.widget.your_preference}} in the above example. > >> > >> Regards > >> Johann > >> > >> > >> > >> > >> -- > >> Because experiencing your loyal love is better than life itself, > >> my lips will praise you. (Psalm 63:3) > >> > >> -- > >> > >> > >> > > > > > > -- > > > > > > > --

