Skip to content
Advertisement

Tag: django-apps

Cannot import models from another app in Django

so I have 2 apps running in the same project. My files are structured as follows: So, I for some weird reason have a different name for my base directory (that is, it ends with codebase). Hopefully, that is not an issue. In my settings.py, I have this: Ok, so in my models.py (from app2), I can easily import models

Advertisement