Django Book 翻译
菜单>:
TOC
返回
原文:
To log out a user, use ``django.contrib.auth.logout()`` within your view. It takes an ``HttpRequest`` object and has no return value:
翻译:
注销一个用户,在你的视图中使用 ``django.contrib.auth.logout()`` 。该函数接受一个 ``HttpRequest`` 对象作为参数,没有返回值。
备注:
译者: