'Cannot import module in Django project
My Django project directory looks like this :

I can import from the CPRS_admin app folder to my main folder and it works fine.But the moment I import the CPRS_admin app folder to the recommendation_model app folder it shows the error ModuleNotFound.
This is the image of the import of CPRS_admin into CPRS and it works.
But the moment when I import CPRS_admin into a file under the recommendation_model app it shows this error.
Solution 1:[1]
You need to add CPRS_admin to CPRS/settings.py
INSTALLED_APPS = ['CPRS_admin',...]
Solution 2:[2]
Have you added CPRS_admin to installed apps in settings.py?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Septya Andi |
| Solution 2 | MatiYo |



