示例#1
0
def count(number=1):
    message = T("Cat").format(n=number)
    link = A(T("more"), _href=URL("count/%s" % (number + 1)))
    return HTML(BODY(H1(message, " ", link))).xml()
示例#2
0
def count(number=1):
    message = T('Cat').format(n=number)
    link = A(T('more'), _href=URL('count/%s' % (number+1)))
    return HTML(BODY(H1(message, " ", link))).xml()