Re: [web2py] How to disable modifying Email in auth.profile()

2013-06-06 Thread
Thanks Martin, it's a easy solution. On Jun 6, 2013 3:38 PM, Marin Pranjić marin.pran...@gmail.com wrote: With this line you will disable edit of email field: db.auth_user.email.writable = False Email will still be printed in form but read only. You can remove it completely from form by

Re: [web2py] Re: How to disable modifying Email in auth.profile()

2013-06-06 Thread
For the first issue of inputting wrong email, this can be solved by email verification. For the second concern I agree if the user's email become invalid they will not be able to receive message to this address but they still have his account with the site. Since email will be used as the only

Re: [web2py] Re: How to disable modifying Email in auth.profile()

2013-06-06 Thread
Thanks for sharing! Lio On Thu, Jun 6, 2013 at 10:49 PM, Rob_McC mrmccorm...@gmail.com wrote: Lio: Not sure if this would be helpful, it was for my app. It seems to work so far. *This allows users to login with * - email OR - username I have a message reminding them they can login

Re: [web2py] Re: Problem overriding bootstrap.min.css with customized submit button style

2013-06-03 Thread
It works nicely now. Thank you Paolo. On Tue, Jun 4, 2013 at 4:32 AM, Paolo Caruccio paolo.carucci...@gmail.comwrote: please try: input.btn_auth { background:url('../images/**button_02.png') no-repeat; border: 0px; width:205px; height:45px; position: relative; top:80px;

Re: [web2py] Re: How to store data records for recurrent jQuery call

2013-05-23 Thread
Thank you Calvin and Alan. I'm not familiar with JSON and not much content in the book at the moment. I will do my research based on your suggestions. Regards, Lio On Wed, May 22, 2013 at 1:09 AM, Alan Etkin spame...@gmail.com wrote: You could then write some javascript to populate block 2

Re: [web2py] Re: “Exceeded soft private memory limit” when upload (1.56M) on GAE

2013-04-18 Thread
Hello Christian, Thank you very much for explaining. The reason is clear to me now. I will try to work around it. Regards, Lio On Thu, Apr 18, 2013 at 11:23 PM, Christian Foster Howes cfho...@gmail.comwrote: Lio, there are potentially 2 problems here: - the request thread is using too

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
Hi Anthony, I read in the book that requires' will be set by default for list:reference. I tried this, and the output is the same as with IS_IN_DB(..., multiple=True), which is a multiple item box listing all options as shown in the pic below: [image: Inline image 1] And I still don't understand

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
The intention is to create a list of items each of which are selected from the dropdown of referenced table, similar to 'list:string' with a +/- sign at the end to add another item. When click the +/- sign it pops another dropdown list to add new item. I photoshoped the pic below to show what I

Re: [web2py] Re: Fail to add entry to list:reference field

2013-04-07 Thread
Hi Anthony, I compared the layout.html against older version, the jQuery issue was resulted because I manually add: script src={{=URL('static','js/web2py_bootstrap.js')}}/script (I thought jQuery was not included in Layout.html) Removing this line solved the problem. Also I will try to build a

Re: [web2py] [FYI] Pyodel is now a plugin

2013-03-29 Thread
Hi Alan, It's true I'm using auth.wiki() in my app. Is there any work around for the time being? On Mar 30, 2013 12:02 AM, Alan Etkin spame...@gmail.com wrote: This is very odd, I belive it is a bug in the app authentication configuration itself, since I cannot reproduce the behavior in