Re: [web2py] Re: prettydate ago is not translated

2016-02-15 Thread Nico de Groot
It creates a parameter with the name 'T' and gives it the current value of the web2py translate function,'T'. In the function prettydate() the translate function is now available. Nico -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Modified language file

2016-02-15 Thread Niphlod
translations gets added to the file as soon as someone hitting a page on your app with that language code triggers a translation of that particular string. what you witnessed in particular points to someone hitting appadmin (those are the translations referenced in appadmin.py)if someone

[web2py] Re: DAL : deltatime field ?

2016-02-15 Thread goome
thanks to all! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users"

[web2py] Re: DAL : deltatime field ?

2016-02-15 Thread goome
thanks! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group.

Re: [web2py] Re: A guide how to install your web2py app on your own server (using DigitalOcean droplets)

2016-02-15 Thread Fabiano Almeida
Great! Thanks for sharing! 2016-02-15 9:30 GMT-02:00 'M Bailey' via web2py-users < web2py@googlegroups.com>: > Wow just read your blog. Really useful, clear instructions - thank you. > > > On Monday, 15 February 2016 10:54:01 UTC, Dragan Matic wrote: >> >> Hey guys, I wrote a guide for beginners

[web2py] Modified language file

2016-02-15 Thread Martin
I have a nginx web2py application under version control with mercurial. Today when I logged in to my server and ran hg diff i noticed that one of the language files in the application folder had been modified in my absence. The changes looks to be only formatting like : "--- a/languages/pl.py

[web2py] Re: DAL : deltatime field ?

2016-02-15 Thread Anthony
And if you want to automatically handle conversion to and from a Python timedelta object, you can use filter_in/filter_out or create a custom field type

Re: [web2py] Re: charts on web2py

2016-02-15 Thread rajjmatthur
I used google charts using a simple bar chart since I couldn't find a workable example on the slice using pygal etc. But google chart seems little slow in loading on the browser and I believe it may be due to loading the js file from the remote site. Does anyone have the same experience? If

[web2py] Re: Remember me with login_bare?

2016-02-15 Thread Anthony
Thanks for noticing that. Originally, it was session.auth.remember but was changed to session.auth.remember_me. I have updated the original answer as well. Anthony On Monday, February 15, 2016 at 8:27:29 AM UTC-5, Alex wrote: > > The correct code should be > session.auth.remember_me = True > >

[web2py] Re: DAL : deltatime field ?

2016-02-15 Thread Niphlod
integer storing seconds On Monday, February 15, 2016 at 1:25:47 PM UTC+1, goome wrote: > > hi > If i am correct there is no deltatime field in DAL, i mean a field where > to store difference from 2 datetime object. > So which is the suggested solution in this case? just a string field? > Thanks

[web2py] Re: Remember me with login_bare?

2016-02-15 Thread Alex
The correct code should be session.auth.remember_me = True Then the cookie for the session id will be set with expires and not as a session cookie. Just in case anyone stumbles over this old thread and needs to handle this manually as well... Alex On Tuesday, February 18, 2014 at 3:48:11 PM

[web2py] Re: list:string and form.errors

2016-02-15 Thread Pierre
I'll give a try to this: http://web2py.com/books/default/chapter/29/11/jquery-and-ajax?search=form.errors all I need is to point out 'faulty' inputs. If I can pass index to JQUERY it seems workable.. we'll see. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] DAL : deltatime field ?

2016-02-15 Thread goome
hi If i am correct there is no deltatime field in DAL, i mean a field where to store difference from 2 datetime object. So which is the suggested solution in this case? just a string field? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: A guide how to install your web2py app on your own server (using DigitalOcean droplets)

2016-02-15 Thread 'M Bailey' via web2py-users
Wow just read your blog. Really useful, clear instructions - thank you. On Monday, 15 February 2016 10:54:01 UTC, Dragan Matic wrote: > > Hey guys, I wrote a guide for beginners how to install and configure your > own server and how to host your web2py app on it, if anybody's interested >

[web2py] A guide how to install your web2py app on your own server (using DigitalOcean droplets)

2016-02-15 Thread Dragan Matic
Hey guys, I wrote a guide for beginners how to install and configure your own server and how to host your web2py app on it, if anybody's interested here's the link: http://blog.draganmatic.com/init/default/show_page/3 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation)

Re: [web2py] AppConfig documentation?

2016-02-15 Thread Niphlod
appconfig is a contrib module, for which we don't keep docs around, nor promise backward compatibility (although it's a pretty simple module)... there's absolutely nothing to be documented, the scaffolding app uses pretty much all the features ^_^ On Sunday, February 14, 2016 at 4:46:46 PM