Changes between Version 40 and Version 41 of BluePrintRESTImplementation


Ignore:
Timestamp:
05/31/09 08:23:45 (13 years ago)
Author:
Fran Boon
Comment:

Python style

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintRESTImplementation

    v40 v41  
    3434def shelter():
    3535    "RESTful CRUD controller"
    36     return shn_rest_controller(module,'shelter')
     36    return shn_rest_controller(module, 'shelter')
    3737}}}
    3838These optional settings can also be set, if-desired:
    3939{{{
    4040# Don't allow resources to be creatable from List view
    41 return shn_rest_controller(module,'shelter',listadd=False)
     41return shn_rest_controller(module, 'shelter', listadd=False)
    4242# Don't allow resources to be deletable from List/Display views
    43 return shn_rest_controller(module,'shelter',deletable=False)
     43return shn_rest_controller(module, 'shelter', deletable=False)
    4444# Display extra field in the list view
    45 return shn_rest_controller(module,'shelter',extra='epsg')
     45return shn_rest_controller(module, 'shelter', extra='epsg')
    4646}}}
    4747