def milestone():
 if ('project_id' in get_vars):
  field = s3db.project_milestone.project_id
  field.default = get_vars.project_id
  field.writable = False
  field.comment = None
 return s3_rest_controller()

def milestone ( ) : if ( 'project_id' in get_vars ) : field = s3db . project_milestone . project_id field . default = get_vars . project_id field . writable = False field . comment = None return s3_rest_controller ( )
restful crud controller .