-
Notifications
You must be signed in to change notification settings - Fork 158
[Bug] Missing migrations? #457
Copy link
Copy link
Open
Description
Hi!
After updading the dependencies, including django-comments-xtd, the tests on my app fail with
raise InvalidBasesError(
django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [<ModelState: 'django_comments_xtd.XtdComment'>]
This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth)
So I ran python manage.py makemigrations django_comments_xtd and it seems it is missing a migration, or it is not able to access the existing ones:
Migrations for 'django_comments_xtd':
.venv/lib/python3.12/site-packages/django_comments_xtd/migrations/0001_initial.py
+ Create model BlackListedDomain
+ Create model XtdComment
(the tests ran fine after that)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels