Django Book 翻译
菜单>:
TOC
返回
原文:
By default, the ``login`` view renders a template at ``registration/login.html`` (you can change this template name by passing an extra view argument ,``template_name``). This form needs to contain a ``username`` and a ``password`` field. A simple template might look like this:
翻译:
缺省情况下, ``login`` 视图渲染 ``registragiton/login.html`` 模板(可以通过视图的额外参数 ``template_name`` 修改这个模板名称)。这个表单必须包含 ``username`` 和 ``password`` 域。如下示例:
备注:
译者: