I'm using Eclipse/PyDev with Python2.7 for a project in Django. In one of my apps (say app1) I have a variables defined in models.py that have lists assigned to them. I'm failing to import these into models.py of another app (say app2). Say the project is called projectName.
projectName/app1/models.py
VARIABLE_NAME = (
('a', 'choice1'),
('b', 'choice2'),
)
projectName/app2/models.py
from projectName.app1.models import VARIABLE_NAME
I'm receiving an error from Eclipse of Unresolved Import: VARIABLE_NAME
Any ideas?