Thursday, December 1, 2011

Re: add project directory path to python path permanently

On Thursday, 1 December 2011 10:59:15 UTC, Nikhil Verma wrote:

Hi all,

I want to add my django project directory path to PYTHONPATH. I am a newbie in ubuntu 11.10
Please tell me step by step. When i do
>>>import sys
>>>sys.path.append(''project_directory path")
It does append but not permanently. I want it like whenever i do sys.path it should show me Project Directory path in PYTHONPATH
--
Regards
Nikhil Verma
+91-958-273-3156


Why? If you start your shell with `./manage.py shell` you will always have this.
--
DR. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/A7eRoKBzDpAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment