[web2py] How to do a session.save() or session.commit()

2013-04-24 Thread Srinath G S
HI, >From web2py book, http://www.web2py.com/book/default/chapter/06 try: execute models, controller function and view except: rollback all connections log the traceback send a ticket to the visitor else: commit all connections save cookies, sessions and return the p

[web2py] Replicated Databases and fail over

2013-04-08 Thread Srinath
ytime. Is there any work around? We also know that the Round Robin way exists. But that would also raise the same 504. Is there any way other than this? http://about.me/srinathgs I write code @ Alamut Srinath G S -- --- You received this message because you are subscribed to the Google G

Re: [web2py] Re: Web2py import doesn't work. It says the modules folder is not found

2013-02-17 Thread Srinath
Hi Massimo and Dana, What I missed to notice is to have a __init__.py inside my application's folder. after putting it in, import started working fine. Thanks for timely help. Regards, Srinath http://about.me/srinathgs http://about.me/srinathgs I write code @ Alamut Srinath G S O

Re: [web2py] Re: Web2py import doesn't work. It says the modules folder is not found

2013-02-16 Thread Srinath
, in custom_importer modules_prefix, globals, locals, [itemname], level) ImportError: No module named .modules Hope that helps. Thanks in advance. http://about.me/srinathgs I write code @ Alamut Srinath G S On Sat, Feb 16, 2013 at 8:46 PM, Massimo Di Pierro < massimo.dipie...@gmail.com&

Re: [web2py] Re: Web2py import doesn't work. It says the modules folder is not found

2013-02-16 Thread Srinath
rt.py", line 73, in custom_importer modules_prefix, globals, locals, [itemname], level) ImportError: No module named .modules http://about.me/srinathgs I write code @ Alamut Srinath G S On Sat, Feb 16, 2013 at 8:46 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: >

[web2py] Web2py import doesn't work. It says the modules folder is not found

2013-02-16 Thread Srinath
write code @ Alamut Srinath G S -- --- 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

Re: [web2py] Re: Is there a way to use SQLFORMs to generate form that can update multiple records?

2013-01-22 Thread Srinath
Is there any guide on how I can make use of this spreadsheet module? How I create the form and other related guides? On Tue, Jan 22, 2013 at 4:21 PM, Alan Etkin wrote: > As the subject states, is there a way to update multiple records in a >> single form using SQLFORM? >> > > If you don't need

[web2py] Is there a way to use SQLFORMs to generate form that can update multiple records?

2013-01-22 Thread Srinath
Hi all, As the subject states, is there a way to update multiple records in a single form using SQLFORM? Thanks in advance, Srinath --