Hi Django lovers,

I am developing Django under Arch Linux with virtualenv and Python 2.7
and I've got a strange problem with PYTHONPATH.

First I construct virtualenv with 

virtualenv2 --no-site-packages test

than I switch to it using

source test/bin/activate

and install latest Django version using

pip install django

Now I start a new project and app, configure Django and last but not
least I have to set the PYTHONPATH variable to my Django project dir in
order to let Django find my apps. 

After setting PYTHONPATH django-admin.py looses commands like
startproject and collectstatic and cannot find some Python modules I
installed. When doing an unset PYTHONPATH the missing django-admin.py
commands reappear. 

Asking the shell where django-admin.py lives with and without
PYTHONPATH set always reveals the path in my virtualenv. 

Any hint what could be wrong here? Or can anyone share his or her
virtualenv / Django config with me?

TIA && have a nice day

Basti
-- 
 Bastian Ballmann / Web Developer
Notch Interactive GmbH / Badenerstrasse 571 / 8048 Zürich
Phone +41 43 818 20 91 / www.notch-interactive.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to