Django Book 翻译
菜单>:
TOC
返回
原文:
The logout view works a little differently. By default it renders a template at ``registration/logged_out.html`` (which usually contains a Youve successfully logged out message). However, you can call the view with an extra argument, ``next_page`` , which will instruct the view to redirect after a logout.
翻译:
logout视图有一些不同。缺省的它渲染 ``registration/logged_out.html`` 模板(这个视图一般包含你已经成功退出的信息)。视图中还可以包含一个参数 ``next_page`` 用于退出后重定向。
备注:
译者: