def handdrawn():
 table = s3db.vulnerability_document
 s3.filter = ((s3db.doc_image.doc_id == table.doc_id) & (table.document_type == 'map'))
 return s3_rest_controller('doc', 'image')

def handdrawn ( ) : table = s3db . vulnerability_document s3 . filter = ( ( s3db . doc_image . doc_id == table . doc_id ) & ( table . document_type == 'map' ) ) return s3_rest_controller ( 'doc' , 'image' )
rest controller for hand-drawn maps .