Gary Roach
2016-01-19 03:11:23 UTC
I have been having fits trying to get Eclipse-pydev to play nice with
pyvenv. The major problem is that Eclipse properties > PyDev-Django gives:
Django manage.py File :manage.py could not be found.
Django settings module Module: settings could not be found
My project is /home/gary/workspace/Testing
The manage.py file is at Testing/testing/manage.py
The settings.py file is at Testing/testing/testing/settings.py
If, in Eclipse, I go to Testing > Properties > PyDev-PYTHONPATH > String
Substitution Variables and edit DJANGO_MANAGE_LOCATION to be
/home/gary/workspace/Testing/testing/manage.py and if I edit
DJANGO_SETTINGS_MODULE to be
/home/gary/Testing/testing/testing/settings.py and hit apply then OK and
then go back to the String Substitution Variables, they have been reset
to the old wrong values.
I need to be able to change DJANGO_MANAGE_LOCATION and the
DJANGO_SETTINGS _MODULE variables. How do I do this
Gary R.
pyvenv. The major problem is that Eclipse properties > PyDev-Django gives:
Django manage.py File :manage.py could not be found.
Django settings module Module: settings could not be found
My project is /home/gary/workspace/Testing
The manage.py file is at Testing/testing/manage.py
The settings.py file is at Testing/testing/testing/settings.py
If, in Eclipse, I go to Testing > Properties > PyDev-PYTHONPATH > String
Substitution Variables and edit DJANGO_MANAGE_LOCATION to be
/home/gary/workspace/Testing/testing/manage.py and if I edit
DJANGO_SETTINGS_MODULE to be
/home/gary/Testing/testing/testing/settings.py and hit apply then OK and
then go back to the String Substitution Variables, they have been reset
to the old wrong values.
I need to be able to change DJANGO_MANAGE_LOCATION and the
DJANGO_SETTINGS _MODULE variables. How do I do this
Gary R.