I opened a python file, that is a file with the .py extension in WordPad and choose that as the standard editor to open such files with. Then the following command:
django-admin.py startproject mysite
opened WordPad, since .py files were now associated with WordPad and not python.exe. You change that in the traditional way.
1. Browse to a python file, that is a file with the .py extension.
2. Right click the file and choose open with + standard program.
3. Choose python.
4. Check the box always use this file type + OK.
5. If done correctly, the above bolded command should function OK.
With Django sub forum.
1 post • Page 1 of 1
Users browsing this forum: No registered users and 1 guest