这是一个创建于 4432 天前的主题,其中的信息可能已经有所发展或是发生改变。
完全按照官方的方法做,
第一步,在 settings 文件中,INSTALLED_APPS 项添加 'django.contrib.comments', 这步没问题
但第二步python manage.py syncdb时系统提示错误:
CommandError: One or more models did not validate:
comments.comment: 'site' has a relation with model <class 'django.contrib.sites.
models.Site'>, which has either not been installed or is abstract.
求解答!!