1

I am a mac user and have never really used a pc from the command line.

How would I add django-admin.py to my path, so I can type in

> django-admin.py startproject newproject.

I suppoed I'd need to do the following:

1 - Find the python executable `django-admin.py`
2 - Add it to my system path
3 - > ln -s PATH/TO/django-admin.py <my system path>

I know this is a very newbie question, but I'm having trouble 'getting started' on a new windows system to create a new django project.

asked Mar 11, 2012 at 4:53

1 Answer 1

2

Just follow this tutorial. You need to add its full path to 'path' variable.

http://www.computerhope.com/issues/ch000549.htm

answered Mar 11, 2012 at 4:56
Sign up to request clarification or add additional context in comments.

3 Comments

Thanks, and where would the executable django-admin.py normally be stored on a pc?
I am not really python guy, so not sure of python conventions.Like For example ruby 1.8.7 is installed in c:\ruby187. It looks like by default the django goes into C:\Python25\lib\site-packages\django
Its in C:\Python27\Scripts if you are using Python 2.7 - replace the path to wherever Python is installed.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.