This topic created in 4556 days ago, the information mentioned may be changed or developed.
完全按照官方的方法做,
第一步,在 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.
求解答!!
1 replies • 1970-01-01 08:00:00 +08:00
 |
|
1
mozillazg Nov 7, 2013
INSTALLED_APPS 追加 'django.contrib.sites'
|