[web2py] Re: treat url error

2016-07-22 Thread Marlysson Silva
Try using routes.py in the routes_in and at routes_out redirect to page ( controller + view ) that you wish.. Em sexta-feira, 22 de julho de 2016 13:44:48 UTC-3, Fabiano Almeida escreveu: > > How to capture and treat the url before displaying error? For example, the > User entered the url with

[web2py] Re: is_in_db() contains query not work for list:reference type

2016-07-22 Thread 黄祥
there are two problems : 1. because i put it on models, it should check the condition if auth_user_employee (fixed) 2. when it's used with another table constructor like label, notnull, required, etc it's not work (no traceback error appear), still investigate. thanks and best regards, stifan

[web2py] suggestion for naming web2py version

2016-07-22 Thread 黄祥
here is the story : two years ago i made a web2py app, n not used after that, n right now my boss asked me to continue improve that app. so i upload the packed old web2py app to the web2py current version, but the login is not working, i can register (inserted in database), but i can't login

[web2py] Self-contradiction in the book regarding migration?

2016-07-22 Thread webmaster
I'm trying to add a field to my DB in GAE (which is a huge headache for some reason?) and was taking a look at the book but noticed this self-contradicting statement regarding migrations: The solution consists of disabling migrations for all tables and enabling fake migrations: 1

Re: [web2py] Re: How active and 'professional' is web2py?

2016-07-22 Thread Ron Chatterjee
youtube uses python. I believe the framework they used is Pyramid but I could be wrong. On Friday, July 22, 2016 at 2:42:57 PM UTC-4, joeg816 wrote: > > I agree 100%. The "powered by" part of the site has a bunch of sites of > questionable quality and many of them are dead. If this was

Re: [web2py] Re: Remove _extra from as_list()

2016-07-22 Thread Anthony
Got it. Unfortunately, I don't think there is a way to prevent the "_extra" key from being added to each Row in this case, so .as_list() will end up including it. You'll either have to remove the "_extra" keys after calling .as_list(), or write your own function to convert the Rows to a list of

Re: [web2py] Re: How active and 'professional' is web2py?

2016-07-22 Thread joeg816
I agree 100%. The "powered by" part of the site has a bunch of sites of questionable quality and many of them are dead. If this was better maintained and showcased some of the best examples, it would go a long way in giving people like me more confidence in using it for larger projects.

Re: [web2py] Re: How active and 'professional' is web2py?

2016-07-22 Thread Carlos Correia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19-07-2016 15:53, joeg816 wrote: > Are there any marquee sites that are using it? When Rails was hot, they had a > few big names. Same with PHP, etc. > > I like what I have seen of web2py but I am scared off since a lot of the info I > find

[web2py] Re: web2py session disable

2016-07-22 Thread Anthony
Please show the full traceback. On Thursday, July 21, 2016 at 8:31:20 PM UTC-4, luis.vallada...@metamaxzone.com wrote: > > Thanks for your help but didnt work, im havin a ticket using (), the > ticket say something about key_session_cookie not existing in > _thread().local > > Anyone has

[web2py] treat url error

2016-07-22 Thread Fabiano Almeida
How to capture and treat the url before displaying error? For example, the User entered the url with a controller that does not exist, and the application takes the url points to an existing controller for any action to be done. Thanks, Fabiano. -- Resources: - http://web2py.com -

[web2py] Openshift + Bitbucket + git submodules

2016-07-22 Thread Matheus Cardoso
Hi, Have anyone used a web2py app as a git submodule in Openshift? I used this repo to deploy web2py to Openshift. Then I added my project into applications folder as a git submodule. However, Openshift tries to updates all submodules when I push

[web2py] Re: Field type list:string in SQLFORM.grid problem new entries.

2016-07-22 Thread Alex Santana
Thanks Dave, I was doing exactly this! On Thursday, July 21, 2016 at 7:50:24 PM UTC+2, Dave S wrote: > > > On Thursday, July 21, 2016 at 9:02:57 AM UTC-7, Alex Santana wrote: > > >> Now I need to realize how to migrate my applications to the git version. >> > > It's mostly a matter of copying

Re: [web2py] Re: How active and 'professional' is web2py?

2016-07-22 Thread Alex
Realistically no one of us will ever build a website with as much traffic as youtube. If you have that much traffic you wouldn't use an interpreted language like Python. But for 99,99% of all website this doesn't matter anyways. The bottlenecks are usually I/O and the database. I have a public