We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
9.3.5 代码倒数第3行,缺少
The text was updated successfully, but these errors were encountered:
缺少 ?
Sorry, something went wrong.
有点忘记了,不过当时应该是想建议变成这样: {% autoescape off %}{{ comment.content }}{% endautoescape %} 因为当时已经使用了Markdown支持,评论内容会含有标签
写成书中那样会报错,后面修改成了,把{{ comment.target}} 换成了{% url 'post-detail' comment.target %} 就可以正常运行了,之前是把target外键改为了CharField类型,URL识别不出来了
No branches or pull requests
9.3.5 代码倒数第3行,缺少
The text was updated successfully, but these errors were encountered: