chrisdev / django-wagtail-feeds

Adds support for RSS and JSON Feeds to your Wagtail CMS Projects
MIT License
59 stars 20 forks source link

django.db.utils.ProgrammingError: relation "wagtailcore_site" does not exist #15

Closed Parbhat closed 8 years ago

Parbhat commented 8 years ago

The error occurs when the database is empty. There is a database query in feeds.py which can not execute in an empty database.

shamrose commented 5 years ago

@Parbhat Is there any workaround to resolve this error, I did not find feeds.py in my project where I am using Wagtail

Parbhat commented 5 years ago

@shamrose The issue description refers to feeds.py present in this package. If you are getting the same error as in issue title, you probably have to run database migrations in your project using python manage.py migrate

shamrose commented 5 years ago

@Parbhat Thank you so much, I was able to resolve the issue, I had made data migrations earlier probably it didn't happen correctly, so had to do it again! Thanks!

abdullah-abid-dev commented 3 years ago

I have same issue while working with django-tenants... I have tried migrate and migrate_schema but nothing work :(