[web2py] Re: SQLForm not processing everytime values in form are changed

2017-10-16 Thread Mujeeb Farees
Yeah I figured that out. Made the following change and it worked. *Controller* # Days Form if session.days: days_form = SQLFORM(db.days,record=session.days,submit_button='Save',showid=False, _id='days_form') else: days_form = SQLFORM(db.days, submit_button

[web2py] Serving files from a Google Cloud Storage Bucket

2017-10-16 Thread Julian Sanchez
I'm in the process of 'upgrading' an old Web2py application hosted on GAE that performs a fair amount of file manipulation. The original version used the blobstore to create files, and the 'default/download' function was modified to serve those blobs like this (abbreviated): blob_key =

[web2py] Re: response view with markdown

2017-10-16 Thread 黄祥
yes you are right, anthony, forgot to put the controllers in the response view. thanks. it's work like charm, thanks bernhard. e.g. controllers/default.py def testmd(): #response.view = 'default/testmd.md' #return locals() # Read plugin description and display. # Some logic i