The hello world of sprox with pyramid
问题 I've tried to build the simplest possible form in Sprox using pyramid. # model.py class Allocation: # some fields ... class SproxForm(AddRecordForm): __model__ = Allocation sprox_form = SproxForm(DBSession) # views.py def sprox_form(request): return {'f':sprox_form,'kw':{}} <html> <body> <div tal:content="structure f(kw)"/> </body> </html> But it just prints out {'kw': {}, 'f': } The forms tutorial is written using TurboGears2 and I am unable to translate it to pyramid, because I am new to