Changes between Version 40 and Version 41 of BluePrintRESTImplementation
- Timestamp:
- 05/31/09 08:23:45 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintRESTImplementation
v40 v41 34 34 def shelter(): 35 35 "RESTful CRUD controller" 36 return shn_rest_controller(module, 'shelter')36 return shn_rest_controller(module, 'shelter') 37 37 }}} 38 38 These optional settings can also be set, if-desired: 39 39 {{{ 40 40 # Don't allow resources to be creatable from List view 41 return shn_rest_controller(module, 'shelter',listadd=False)41 return shn_rest_controller(module, 'shelter', listadd=False) 42 42 # Don't allow resources to be deletable from List/Display views 43 return shn_rest_controller(module, 'shelter',deletable=False)43 return shn_rest_controller(module, 'shelter', deletable=False) 44 44 # Display extra field in the list view 45 return shn_rest_controller(module, 'shelter',extra='epsg')45 return shn_rest_controller(module, 'shelter', extra='epsg') 46 46 }}} 47 47