我正在尝试django-mptt-comments
在我的 django 项目上使用应用程序,但是当我尝试发表评论时遇到了问题。
我得到错误:AttributeError: 'NoneType' object has no attribute 'level'
这是回溯:https ://gist.github.com/1481179
您会在回溯中注意到错误发生在第 93 行的 appp 的 form.py 中。代码如下所示:https ://gist.github.com/1481191
谁能告诉我可能导致此问题的原因以及如何解决此问题。谢谢。