[web2py] Form stopped working...
My form was working fine for a long time. Then, I made a small change in the db.py table, like this: Field('Website', requires=[IS_NOT_EMPTY(), IS_URL()]), to this: Field('website', requires=[IS_NOT_EMPTY(), IS_URL()]), I changed the *W* in the '*W*ebsite', from uppercase to lowercase and the form is no longer processing anything. I changed it back, reloaded the app I tried everything but it's not processing the Form. I would appreciate some help with this. Thanks. Cheers, Joe -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Does web2py support reCAPTCHA v2?
Hi Anthony, Thank you I'll do it. On Sunday, February 18, 2018 at 8:30:38 AM UTC-5, Anthony wrote: > > On Sunday, February 18, 2018 at 8:25:44 AM UTC-5, DwfMagic wrote: >> >> Hi, >> >> I can update the book; how can I request access to edit the book? >> > > Just make a pull request to the book repo: > https://github.com/web2py/web2py-book. See > http://web2py.com/books/default/chapter/29/15/helping-web2py#Preparation--using-GitHub > > and > http://web2py.com/books/default/chapter/29/15/helping-web2py#Documentation--Updating-the-book > . > > Anthony > -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: Just a silly thread to say... thanks to all web2py developers team
I agree! And this 'me too' will keep this thread on the top :-) On Friday, February 9, 2018 at 1:42:10 AM UTC-8, Jaime Sempere wrote: > > Hi, > > this is gonna sound a littile silly, but I have been wanting to publish a > thread like this from years ago. > > I just wanna say to Massimo and all the web2py developers one thing: > thanks. Thanks a lot. > > I love web2py and I enjoy programming and developing with it. > > I can notice all the effort and all the work you have made to create a > super simple, easy, fun, and good programmed framework like web2py. > > Everytime I need to develop a new personal project, I always choose web2py > if I can. > > I see magic and simplicity in every aspect of web2py. I could not imagine > a quicker framework than web2py. > > And everytime I need to do something new, when I look to the book, I > always find a very easy and simple way to do it. And that's something I > love: I find that you have worked a lot to build something simple and > powerful. Programming should be like that: simple, non verbose, and fun. > Like 'just focus on the logic and forget about verbose, and extra code, or > anything too complicated'... keep it simple, stupid! > > And the integrations that you have made possible with GAE or Heroku... oh > come on, someone gives these guys a medal! > > Or any time that I need to make a customization, or touch anything from > the core, I always think to myself: 'this is perfectly programmed, this is > exactly how I would develop it', it is like web2py read my mind or if it > had same way of thinking as me. > > I find magic and roids in every aspect of web2py. > > And by the way, vim and web2py make a wonderful team. I feel like a super > fanatic boy of both of them... > > Well I do not know if this sounds too foolish, but I just want to say to > all the members that made and make web2py a solid framework that: thanks, > my respects and keep making this framework a reality. > > Plus, this group is wonderful support. > > Well, that's enough, maybe this can sound awkward or a typical fan-boy > thread... but for a last time, thanks to all of you. > > Jaime > -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] web2py.scheduler.hpxyz#2791 - ERROR - we received a task that isn't there (15)
Hi, i get the above error from time to time running 3 redis-scheduler processes while results look consistent. Is this a serious error or some kind of a fake alert ? does it mean something ? -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: INNER JOIN and WHERE clause in web2py
Just add the additional joins: db((db.ntw_edge.outID == 1622) & 'ntw_edge.labelID = alias_edge.labelID'). select( join=[db.ntw_edge.with_alias('alias_edge').on('ntw_edge.inID = alias_edge.outID'), db.vtx_vertex.on(db.ntw_edge.inID == db.vtx_vertex.id), db.ntw_edge_label_set.on(db.ntw_edge.labelID == db. ntw_edge_label_set.id)]) Anthony On Tuesday, February 20, 2018 at 3:17:21 AM UTC-5, Annet wrote: > > HI Anthony, > > Thanks for your reply. > > >> What is the SQL you are trying to produce? >> > > > SELECT ... > FROM ntw_edge > INNER JOIN ntw_edge_alias ON ntw_edge.inID=alias_edge.outID > > INNER JOIN vtx_vertex ON ntw_edge.inID=vtx_vertex.id > INNER JOIN ntw_edge_label_set ON ntw_edge.labelID=ntw_edge_label_set.id > > WHERE ntw_edge.outID=1622 AND (ntw_edge.labelID=alias_edge.labelID) > > > I hope I provided you with sufficient information to get this part of the > join right. > > > Kind regards, > > Annet > -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: INNER JOIN and WHERE clause in web2py
HI Anthony, Thanks for your reply. > What is the SQL you are trying to produce? > SELECT ... FROM ntw_edge INNER JOIN ntw_edge_alias ON ntw_edge.inID=alias_edge.outID INNER JOIN vtx_vertex ON ntw_edge.inID=vtx_vertex.id INNER JOIN ntw_edge_label_set ON ntw_edge.labelID=ntw_edge_label_set.id WHERE ntw_edge.outID=1622 AND (ntw_edge.labelID=alias_edge.labelID) I hope I provided you with sufficient information to get this part of the join right. Kind regards, Annet -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[web2py] Re: setup-web2py-nginx-uwsgi-centos7.sh
On Monday, February 19, 2018 at 9:41:27 AM UTC-8, lucas wrote: > > hello one and all, > > i have run bash shell script "setup-web2py-nginx-uwsgi-centos7.sh" from > under web2py scripts on centos 7.4, web2py 2.16.1, and nginx 1.12.2. and > everything is working for a single domain. ssl and comodo certificates are > working also. right now, i have all of the configuration under the above > bash shell script, the /etc/nginx/nginx.conf file. > > so i want to setup a second domain, 3rd, that would point to a separate > seconddomain.com/app2 application under the web2py install directory. > how do i setup a second /etc/nginx/conf.d file, or two under > /etc/nginx/conf.d files, one for each domain pointing to the proper domain > and web2py application, along with the changes in nginx.conf file? > > i've read a lot but it is hard to make sense since uWSGI and web2py are in > the mix now also. > > thank you, lucas > If have the original setup using firstdomain.com ,wouldn't you just add a new server section to the nginx conf file? You could use nginx rewrite rules to add "/app2" if you wanted it to be the default application for seconddome.com. I'm suggesting that because I'm not sure how to tell routes.py how to distinguish the 2 domains so that it handles 2 defaults. /dps -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.