I'm using a form inside a table, so I can display it as a sudoku grid. web.py's forms seem to dictate the layout of your forms.
Am I doing things the right way ?
I'm using a form inside a table, so I can display it as a sudoku grid. web.py's forms seem to dictate the layout of your forms.
Am I doing things the right way ?
Yes, although it's a bit difficult to find the relevant section in the docs.
GET/POST parameters can be retrieved using web.input()
. Each parameter in the query string can be accessed as an attribute of the returned object:
class IndexHandler(object):
def GET(self):
data = web.input()
print data.parameter_name
Raw POST data can be retrieved using web.data()
.