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
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 =
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
3 matches
Mail list logo