0

我已将 askbot 应用程序安装到我的项目中。现在我通过提供“用户名和密码”在 askbot 本地登录。我看到以下错误:

'askbot.deps.django_authopenid.forms.LoginForm object' has no attribute 'possword'

Tracebackvalue="{{ login_form.possword.value() }}"告诉我们以下文件中有一行:

askbot/templates/authopenid/signin.html in block "content"

我根本没有找到那条线。

完整的 HTML

<div class="form-group">
    <input class="required login" id="id_password" 
        maxlength="128" name="password" type="password"
        {% if login_form.password.value() %}
        value="{{ login_form.possword.value() }}"
        {% endif %}
        placeholder="{% trans %}Password{% endtrans %}
</div>

4

1 回答 1

1

This is a bug. There was a typo in the variable name. It was fixed here.

于 2015-08-07T22:53:46.623 回答