I am just starting Django these days, but I cannot run this command
django-admin.py startproject myproject
Well, CMD does not suggest that this command is not recognized. Instead, it simply opens my Sublime with the opening of the django-admin.py file. and of course, the folder named myproject is not created in the current folder.
I managed to start a Django project by typing commands like
python C:\Python27\Scripts\django-admin.py startproject myproject
But when I omit the part about the absolute information about the django-admin.py path, the command does not work, saying that python cannot find such a file inside the current directory.
Can shorter commands be used? (PS: I have C: \ Python27 \ and C: \ Python27 \ Scripts \ in PATH)
source share