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

    """RESTful CRUD controller for display of a series of posts as a full-page
    read-only showing last 5 items in reverse time order
    @ToDo: Convert to dataList
    """
    def prep(r):
        s3db.configure(r.tablename, listadd=False)
        return True
    s3.prep = prep
    def postp(r, output):
        if r.record:
            response.view = s3base.S3CRUD._view(r, 'cms/blog.html')
        return output
    s3.postp = postp
    output = s3_rest_controller('cms', 'series')
    return output