1👍
✅
You gave Django a top-level module, where it expects models to be part of a package. The error is the result of Django looking for the package name, and it doesn’t exist here.
Do not add the package your models.py
file lives in to the PYTHONPATH; only add directory where the parent package lives, here Project/apps
.
Source:stackexchange.com