Changes between Version 50 and Version 51 of S3REST
- Timestamp:
- 07/02/10 07:56:40 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified S3REST
v50 v51 87 87 This allows you to easily make changes to resource settings (e.g. access control, list fields etc.), or even to the REST controller configuration (e.g. custom methods) depending on the request type, its parameters or the addressed resource, without having to parse the web2py request manually. You can even bypass the execution of the request and thus hook in your own REST controller - with the advantage that you don't need to parse the request anymore. 88 88 89 '''NB: Hooks should be added at the top of your controller function (right after your resource is defined, especially pre-processing hooks. e.g.,''' 89 '''NB: Hooks should be added at the top of your controller function, especially pre-processing hooks.''' 90 90 91 {{{ 91 92 def template():