Changes between Version 14 and Version 15 of S3/S3REST/s3_rest_controller
- Timestamp:
- 10/22/10 12:38:16 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3REST/s3_rest_controller
v14 v15 8 8 9 9 The so-called '''REST Controller''' (function {{{s3_rest_controller()}}}) is a helper function to easily apply the RESTful API of the S3Resource class to your controller. 10 11 Using {{{s3_rest_controller}}}, a basic RESTful controller can look like: 12 13 {{{ 14 def image(): 15 16 """ RESTful CRUD controller """ 17 18 return s3_rest_controller("pr", "image") 19 20 }}} 10 21 11 22 {{{s3_rest_controller}}} does: