def person():

    def prep(r):
        if r.representation != "s3json":
            # Do not serve other representations here
            return False
        else:
            current.xml.show_ids = True
        return True
    s3.prep = prep

    return s3_rest_controller("pr", "person")

# -----------------------------------------------------------------------------
Person controller for AddPersonWidget
dataset/ETHPy150Open sahana/eden/controllers/org.py/person