有人能看到我在这里做错了吗?我错过了什么? # works
{% get_comment_count for app.somemodel object_pk as comment_count %}
{% get_comment_count for model as comment_count %}
# Throws error: "Caught AttributeError while r
我使用github上的ericflo的django-threadedcomments。这个应用程序只是扩展本地Django评论框架。我遇到了与这两个框架相同的问题。我继续得到与mysql有关的错误,即site_id不能为空。我在我的评论中没有使用“网站”字段。我试图用我自己的制作网站的空白和空白来扩展评论模型,但我仍然得到相同的错误。覆盖该要求的正确方法是什么?由于 我想: class Comme