Django Book 翻译
菜单>:
TOC
返回
原文:
* ``messages`` : A list of messages (as strings) for the current logged-in user. Behind the scenes, this variable calls ``request.user.get_and_delete_messages()`` for every request. That method collects the users messages and deletes them from the database.
翻译:
* ``messages`` :一个当前登录用户的消息列表(字符串)。在后台,对每一个请求这个变量都调用 ``request.user.get_and_delete_messages()`` 方法。这个方法收集用户的消息然后把它们从数据库中删除。
备注:
译者: