0
我在使用新的django_comments
时遇到错误,其中replaceddjango.contrib.comments
。有关如何解决此错误的任何想法?ImportError:没有名为comments.models的模块
我在django-fluent-comments上安装了评论应用django-threadedcomments - 这完全受支持。
File "/.../lib/python2.7/site-packages/threadedcomments/models.py", line 2, in <module>
from django.contrib.comments.models import Comment
ImportError: No module named comments.models
settings.py
INSTALLED_APPS = (
## comments apps start
'threadedcomments',
'django.contrib.sites',
'django_comments',
'fluent_comments',
'crispy_forms',
## comments apps end
)
尝试使用最新开发版本django_comments – TheGeorgeous