human
Complete this python program:
def due_followups():
assistant
#Here is the Python code you requested.

    """RESTful Controller for Due Follow-ups
    """
    s3.crud_strings['po_household_followup'] = Storage(title_display=T('Follow-up    Details'), title_list=T('Due    Follow-ups'), title_update=T('Edit    Follow-up    Details'), label_list_button=T('List    Follow-ups'), msg_record_modified=T('Follow-up    Details    updated'), msg_list_empty=T('No    due    follow-ups'))
    from s3 import S3DateFilter, S3OptionsFilter, S3TextFilter
    filter_widgets = [S3TextFilter(['household_id$location_id$addr_street', 'followup_required', 'comments'], label=T('Search')), S3OptionsFilter('household_id$area_id'), S3DateFilter('household_id$date_visited', label=T('Date    visited'), hidden=True), S3DateFilter('followup_date', hidden=True)]
    s3db.configure('po_household_followup', insertable=False, deletable=False, filter_widgets=filter_widgets, list_fields=['followup_date', 'household_id$area_id', 'household_id', 'followup_required', 'comments'])
    def prep(r):
        if (not r.record):
            query = ((FS('followup_date') <= datetime.datetime.utcnow().date()) & (FS('completed') != True))
            r.resource.add_filter(query)
        return True
    s3.prep = prep
    return s3_rest_controller('po', 'household_followup')