T3
Beyond MVC
Login | Register | Password

Example 1


The mode source code for this page is:

db.define_table("image",db.Field("file","upload"))


The entire source code for this page:

{{=self.create(db.image,next="wiki/test")}}
{{=TABLE(*[TR(IMG(_width="200px",_src=self.action("download",image.file))) for image in db().select(db.image.ALL)])}}

But file upload is disabled for security reasons.