Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psycopg2.errors.UndefinedTable: relation "django_content_type" does not exist #292

Closed
samuelmovi opened this issue May 14, 2020 · 1 comment

Comments

@samuelmovi
Copy link

The issue's title is the error I get when attempting to migrate this app in project using Django 2.2.

After adding django-notifications-hq==1.6.0 to requirements.txt, and 'notifications', to settings.INSTALLED_APPS, I execute python manage.py migrate.
All other migrations work well, but not notifications.
Running python manage.py showmigrations shows:

...
notifications
 [ ] 0001_initial
 [ ] 0002_auto_20150224_1134
 [ ] 0003_notification_data
 [ ] 0004_auto_20150826_1508
 [ ] 0005_auto_20160504_1520
 [ ] 0006_indexes
 [ ] 0007_add_timestamp_index
 [ ] 0008_index_together_recipient_unread
...

Does anyonw else have this issue when trying to use the module?
Does it migrate well for everyone?
I'll say that I tried using django-activity-stream, which your project seems to be based on, and it throws the same error. However theirs only supports 1.x versions of Django.

I would appreciate any and all help in stomping this issue.
Thanx.

@AlvaroLQueiroz
Copy link
Contributor

Have you found how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants