I'm trying to delete users from the admin and get this error:
DatabaseError at /admin/users/neverlateuser/
relation "django_comments" does not exist
LINE 1: ..._admin", "users_neverlateuser"."date_joined" FROM "django_co...
but I don't have the comments installed, I don't have django.contrib.comments
. I get this error only on the live server but not on the local host- there I can delete users with no problem. Where is the problem?
I fixed it by adding django.contrib.comments
to my INSTALLED_APPS
. I don't think this is a must, but I guess I used comments before and removed it later from the project (long-term project). So add it and run syncdb plus migrate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With