コード例 #1
0
def message_updates():
    # need to unlock the session when using
    # session file, should not be need it when
    # using session in db, or in a cookie
    session._unlock(response)
    return chats.message_updates(db)
    return dict(message=T('Welcome to web2py!'))
コード例 #2
0
ファイル: default.py プロジェクト: tmakwan/csFinal183
def message_updates():
    # need to unlock the session when using
    # session file, should not be need it when
    # using session in db, or in a cookie
    session._unlock(response)
    return chats.message_updates(db)