The comments library is a built-in review library of the Django framework that allows you to quickly build the commenting system your site needs. But 1.8 of the configuration and 1.6 appeared a little bit of configuration, due to just contact, according to the online document configuration, need to
Settings.py's Installed_apps added ' django.contrib.comments ', but following this configuration, an error will appear:
Importerror:no Module named comments
began to think that it is necessary to load the module, but after the addition of the module still has this hint, after the online review found that the original 1.8 version has been changed, refer to http://django-contrib-comments.readthedocs.org/en/latest/porting.html
#apt-get Install Pip#pip Install django-contrib-comments Add the following installed_apps in setting.py Appinstalled_apps = (... ' django_comments ', ...)
So then Python manger.py syncdb will be able to, will not error.
If the error follows: Site matching query does not exist.
You need to add site_id = 1 in setting.py.
Django 1.8 Comment Library Comments configuration Issues