Re: [web2py] AppConfig documentation?

2016-02-14 Thread Andrew Buchan
Hi Nico, Thanks for that! I suppose this should really go into the web2py book, we can't expect people to read the source for something as basic (i.e. not an advanced feature or special use case) as this. I'm happy to go into github and create a pull request, I'm just not sure where we should pl

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

2016-02-14 Thread Jörg Schneider
Thanks for the helpful hints in this thread - I had a similar question and editing the translation file on cli solved my problem with prettydate and "ago"-string! But I have a question about "T=T". What does this mean? Am Samstag, 11. Juli 2015 15:24:03 UTC+2 schrieb Maxim: > > To translate pret

[web2py] Re: Trying to build a post api.

2016-02-14 Thread Jaime Sempere
Just for future viewers: I have needed to wrap the answer into a response.json() to be able to parse the response in the client: this works for me : return response.json(db.Questions.validate_and_insert(**fields)) this doesnt work : return db.Questions.validat

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

2016-02-14 Thread Pierre
I might be able to fix this with some JQUERY code, if I can pass the error index from onvalidation to jquery i am saved...we'll see. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/

[web2py] Re: reading from external db

2016-02-14 Thread Val K
Be careful with legacy databases! You can do involuntary changes by db.define_table(), to avoid this use migrate=False. If you're going to read only (i.e. only select-query), connect to DB using limited user/role account On Saturday, February 13, 2016 at 1:01:36 AM UTC+3, yarecki wr wrote: >