How to install Spirit in existing Django project?

B
  • 25 Oct

Hy

I have an existing Django project and wanted to add Spirit.

I installed Spirit with pip install django-spirit

I then added it to the installed apps and added path("forum/", include("spirit.urls")), to the urlpatterns.

But now, when running python manage.py makemigrations I get ValueError: Cannot create form field for 'category' yet, because its related model 'spirit_category.Category' has not been loaded yet

Does anybody know what to do at this point? Did I miss something?

Kind regards
Ben