Open adinhodovic opened 1 year ago
(Sorry for the delay here) I think you need to make sure to have run migrations? Tags rely on the content type table and the like to implement its generic foreign key stuff. I don't think any Django stuff really supports being run on a "fresh DB" without running migrations, but I might be misunderstanding what you are saying
Hmm... Weird one adding
qs.exclude(tags__name="test)
to our object manager causes errors on a fresh databaseMy model and manager:
Running ./manage.py migrate causes an exception:
This issue occurs on fresh database such as in CI, adding it to a database that's already done migrations works fine. Any ideas, can't figure it out?