admin of comments depends on table django_site
|Reported by:||jobcello||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I started a new site, included 'django.contrib.comments', but left out the 'django.contrib.sites' from the INSTALLED_APPS.
I synced the db.
When trying to manage comments through the admin interface (URL: "http://localhost:8080/admin/comments/comment/"), got the error:
OperationalError at /admin/comments/comment/
no such table: django_site
To get this admin page working, I added 'django.contrib.sites' to the INSTALLED_APPS. Then I synced the db. Then I immediately commented that line ('django.contrib.sites') out from INSTALLED_APPS. In other words, just having the table in the db made it work.