Re: [web2py] Re: web2py and python3

2017-04-02 Thread Alex
Is there any progress or at least a timeline when web2py will officially support Python 3? It's 11 months since the last web2py release and I don't see much activity on github. So this is worrying me a little bit. I have a lot of web2py projects and I'll start a large project in a few months.

Re: [web2py] Sites Powered by web2py

2017-04-02 Thread Ovidio Marinho
Very good! [image: http://itjp.net.br] http://itjp.net.b r *Ovidio Marinho Falcao Neto* ovidio...@gmail.com Brasil 2017-04-02 17:58 GMT-03:00 Alex

Re: [web2py] how string_agg for groupby?

2017-04-02 Thread Alex
Is it possible to do more advanced queries (like using string_agg) with DAL in the meantime? Especially string_agg is very useful for efficient queries and I need it frequently. As it seems I have to use executesql which is not really what I'd prefer. Are there any plans to implement such

[web2py] Sites Powered by web2py

2017-04-02 Thread Alex
The section for "Sites Powered by web2py" does not look very promising and also seems outdated. Most pages don't have a screenshot and some of them are not even working anymore. When I try to visit the first site I get a link to an internal error ticket. Submitting a new page does not work. We

[web2py] best place to put style

2017-04-02 Thread Marlysson Silva
The first way is the best option because separate concerns ( views ( HTML ) and style (CSS) ) The second you are using all web page with componentes to include in current page.. I think that this is not a best pratice.. -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] IntegrityError('NOT NULL constraint failed:post.message)

2017-04-02 Thread Maurice Waka
I thought I had escaped/ solved this error. But now am stuck. My db.py code: Post = db.define_table('post', Field('message', 'text', requires=IS_NOT_EMPTY(), notnull=False), Field('answers', 'text', requires=IS_NOT_EMPTY(), notnull=False),

Re: [web2py] Re: I can't post into a DAL Field

2017-04-02 Thread Maurice Waka
I had to create another table for 'reply', and it worked. I appreciate your continuous support!! Regards On Sun, Apr 2, 2017 at 11:13 AM, Maurice Waka wrote: > Great Antony!. But wait, now I have a new issue: > IntegrityError: NOT NULL constraint failed: post.message > >

Re: [web2py] Re: I can't post into a DAL Field

2017-04-02 Thread Maurice Waka
Great Antony!. But wait, now I have a new issue: IntegrityError: NOT NULL constraint failed: post.message On Sat, Apr 1, 2017 at 10:49 PM, Anthony wrote: > It is not clear what you are trying to do. You can only insert values in > fields that exist -- there is no "name"