I have Django installed inside of my project directory for a special project, but the imports are looking for Django to be placed somewhere within wherever python is loaded on my system, but django is situated in
Projname/django
While my apps are in (manage.py is also here) Projname/apps/
And the individual app directory would look more like: Projname/apps/individualapp
My settings files are in: Projname/apps/settings
Based on some reading here on SO, I thought doing this inside of my __init__.py
files within each individual app would have worked, but didn't (plus, there are quiet a few apps):
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'django')))
I'm pretty new to this, so a solution would be great.