EDIT: I added the path to django-admin.py to my system path (C: \ Users \ me \ Downloads \ Django-1.5.1 \ django \ bin), but even after that, when I try to run django- admin.py startproject mysite, it asks me to select a file to open, and even when I select python.py, for some reason it opens chrome. I also tried python django-admin.py startproject mysite, but it says: "python: cannot open django-admin.py file: [Errno 2] There is no such file or directory." Any idea what is wrong?
I added python27 to the system path and when I open cmd and switch to the directory (C: \ Users \ me \ djcode) and then enter django-admin.py startproject mysite it says: "django-admin.py is not recognized as internal or external command, operating program or batch file. " When I try to enter the python django-admin.py startproject mysite command, it says: "python: cannot open the django-admin.py file: [Errno 2] There is no such file or directory"
Any idea why? The djangobook ( http://www.djangobook.com/en/2.0/chapter02.html ) says: "django-admin.py should be on your system path if you installed Django through the setup.py utility" .. what is it mean? How to add django-admin.py to my system path? I'm not sure where django-admin.py even exists.
source share