我的代码是:Hello!~ <p>Logged in as {{ user.first_name }} {{ user.last_name }}.</p> <p>Hello, {{openid_user.nickname}}! Do you want to <a href="{{openid_logout_url}}">Log out?</p> <p><a href="/log
例如,嵌套循环中有一个对象: {% for line in fieldset %然而,django模板会在更改后抱怨:
Variables and attributes may not begin with underscores: 'field.field.还有更好的方法来调试django模板中的变量吗?(我尝试了{% debug %},但当我想检查嵌套循
/course/5/
但是当然,admin/edit_inline/stacked-nested.html并不存在,因为在模板呈现过程中出现了一个错误\django\contrib\admin\templates\admin\change_form.html, error at line 62
62 {%